Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ugly but functional solution for bash lameness
It turns out my previous attempt at a bash solution didn't actually work. I just got confused during testing because my test target inadvertantly had a good copy of ./bin/netskel copied from a previous attempt and it appeared to work but didn't. Bash completely dumps the push session as soon as it fetches the Netskel client script from the server and no subsequent commands get run. This doesn't happen on true /bin/sh (BSD) or on /bin/dash (Debuntu) hosts. The cleanest workaround I found was simply to chain all the remaining commands on the single line using && links. This seems to work everywhere I've tested, albeit in a somewhat ugly way. Good enough for me to be happy.
- Loading branch information