kirb / theos

Unified cross-platform iPhone Makefile system
https://github.com/kirb/theos/wiki
Other
42 stars 7 forks source link

make update-theos fails #8

Closed jithatsonei closed 9 years ago

jithatsonei commented 9 years ago

When attempting to use the command update theos on KUbuntu 15.04 the script will fail with the error "/bin/sh: 1:[[: Not found." The code that seems to cause this issue is commit 60119ae5a73ea828283650717a3b04ecf314bbc8

The file in question is located in $THEOS/makefiles/master/rules.mk and the line the code seems to fail is at line 121. A basic workaround is to just delete line 121-124.

kirb commented 9 years ago

Somehow that briefly worked… don't know why, but [ is going to be a safer bet anyway. Thanks for reporting.

DHowett commented 9 years ago

Ubuntu made the shit decision to use dash, where [[is a bashism!

jithatsonei commented 9 years ago

image And then there are abunch of distributions listed above based on Ubuntu so :P

kirb commented 9 years ago

…Considering that, then, 47cbd45 now forces bash as the $SHELL.