holman / dotfiles

@holman does dotfiles
http://zachholman.com/2010/08/dotfiles-are-meant-to-be-forked/
MIT License
7.35k stars 3.36k forks source link

script/install does not run installers if one of them consumes stdin #319

Open sashee opened 5 years ago

sashee commented 5 years ago

One of my install.sh starts nvim and that reads the other install.sh paths from stdin. This prevents them from running.

I've solved this by using find's exec to run the install.sh's:

find . -name install.sh -exec sh -c "{}" \;
fredmontet commented 5 years ago

I had the same issue!