config_files icon indicating copy to clipboard operation
config_files copied to clipboard

Error with install.sh

Open SteveDeWald opened this issue 15 years ago • 1 comments

In Ubuntu 9.10 when running install.sh:

./install.sh: 35: [[: not found
./install.sh: 35: [[: not found
./install.sh: 35: [[: not found
WARNING: /home/sdewald/.gitconfig exists but is not a symlink.
./install.sh: 35: [[: not found
./install.sh: 35: [[: not found
./install.sh: 35: [[: not found
./install.sh: 35: [[: not found
./install.sh: 35: [[: not found
./install.sh: 35: [[: not found
./install.sh: 35: [[: not found
./install.sh: 35: [[: not found
./install.sh: 35: [[: not found
./install.sh: 35: [[: not found

I don't recall getting this error before running Ubuntu 9.04. Will look into it more when I get a chance... I'm sure it's something I overlooked.

SteveDeWald avatar Jan 10 '10 23:01 SteveDeWald

Solved by changing the first line of install.sh from #!/bin/sh to #!/bin/zsh... I think it's related to the Ubuntu default shell being dash. https://wiki.ubuntu.com/DashAsBinSh

SteveDeWald avatar Jan 11 '10 00:01 SteveDeWald