GsDevKit / GsDevKit_home

master GsDevKit project
http://gsdevkit.github.io/GsDevKit_home
MIT License
31 stars 36 forks source link

Install script needs bash >= 4.0 #97

Open StephanEggermont opened 8 years ago

StephanEggermont commented 8 years ago

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 commented 8 years ago

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)

dalehenrich commented 8 years ago

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 ...

StephanEggermont commented 8 years ago

Yes, my linux machine has a new enough bash too

dalehenrich commented 8 years ago

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

dalehenrich commented 8 years ago

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