![]() |
[SOLVED] all: line 673: syntax error near unexpected token `fi' - Printable Version +- Xonotic Forums (https://forums.xonotic.org) +-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3) +--- Forum: Xonotic - Help & Troubleshooting (https://forums.xonotic.org/forumdisplay.php?fid=4) +--- Thread: [SOLVED] all: line 673: syntax error near unexpected token `fi' (/showthread.php?tid=1034) |
all: line 673: syntax error near unexpected token `fi' - Mr. Bougo - 09-26-2010 If you guys get this error message when updating from git: Code: all: line 673: syntax error near unexpected token `fi' Code: git pull If you're using my autobuild pack, type this command into shell.bat before the "git pull" one: Code: cd /xonotic RE: all: line 673: syntax error near unexpected token `fi' - BurningPi - 09-26-2010 I managed to fix this error by changing line 671 in ./all from Code: elif which catchsegv >/dev/null 2>&1/, then Code: elif which catchsegv >/dev/null 2>&1/, ; then (note the semicolon) RE: all: line 673: syntax error near unexpected token `fi' - Mr. Bougo - 09-26-2010 Yep but you now have unstaged changes, and that is kind of bad. Besides, you have to remove the comma. You'll have to do this now: Code: git reset --hard all Basically, your fix gets in the way of further updates of the script, while my solution makes use of an older "all" script that can then fix itself by updating to the fixed version present in the repository. |