GsDevKit_home icon indicating copy to clipboard operation
GsDevKit_home copied to clipboard

Install script needs bash >= 4.0

Open StephanEggermont opened this issue 9 years ago • 5 comments

On my Yosemite 10.10.5 Mac, the bash version is 3.2.57(1)

According to http://www.catonmat.net/download/bash-redirections-cheat-sheet.pdf

cmd1 |& cmd2

Redirect stdout and stderr of cmd1 to stdin of cmd2 (bash 4.0+ only). Use cmd1 2>&1 | cmd2 for older bashes.

StephanEggermont avatar Apr 06 '16 17:04 StephanEggermont

Nope, changing that doesn't work

Stephans-MacBook-Pro:GsDevKit_home stephan$ installServerClient 2>&1 tee $GS_HOME/install.log

GsDevKit script: installServerClient tee /Users/stephan/Documents/Sensus/Projects/Lifeware/GsDevKit_home/install.log

path: /Users/stephan/Documents/Sensus/Projects/Lifeware/GsDevKit_home/bin/installServerClient

unexpected argument (tee)

StephanEggermont avatar Apr 06 '16 18:04 StephanEggermont

Hmmm ... I guess I haven't tried those scripts on my Mac ... and my Mac is at home so I won't be able to debug until tonight ...

dalehenrich avatar Apr 06 '16 18:04 dalehenrich

Yes, my linux machine has a new enough bash too

StephanEggermont avatar Apr 06 '16 18:04 StephanEggermont

We changed the instructions here to use the older form (for windows).

dalehenrich avatar Apr 06 '16 19:04 dalehenrich

remove install.log from README until we get better bash foo ... https://github.com/GsDevKit/GsDevKit_home/commit/56f0f1c82b9695f9a2d2b5f53fe08f15919a3ee8

dalehenrich avatar Apr 20 '16 23:04 dalehenrich