Create an account

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] all: line 673: syntax error near unexpected token `fi'

If you guys get this error message when updating from git:
all: line 673: syntax error near unexpected token `fi'
then don't worry... Just type this command where you would do ./all update:
git pull
and then run ./all update

If you're using my autobuild pack, type this command into shell.bat before the "git pull" one:
cd /xonotic
then close the shell window and run build.bat again.

I managed to fix this error by changing line 671 in ./all from
elif which catchsegv >/dev/null 2>&1/, then
elif which catchsegv >/dev/null 2>&1/, ; then

(note the semicolon)

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

Possibly Related Threads…
Thread Author Replies Views Last Post
Sad [SOLVED] Segmentation fault (HTTP error 422) at the end of the first map John 1 989 11-04-2022, 10:05 AM
Last Post: John
  [BUG] Command line typing issues teratorn 5 3,040 04-12-2018, 04:02 AM
Last Post: teratorn
  [SOLVED] linux compile/link error BuddyFriendGuy 2 3,581 11-27-2017, 05:18 PM
Last Post: BuddyFriendGuy
Bug [BUG] Permission Denied line 131 Ubuntu 14 ilyasofficial 2 3,202 10-22-2017, 06:39 AM
Last Post: martin-t
  [NEEDS INFO] Custom map - Host Error: Mod_MAP_Mode: not yet implemented teratorn 6 5,360 03-07-2017, 04:29 AM
Last Post: SpiKe
Sad [NEEDS INFO] Strange bug - my character is moving all the time ! Oncl'Tom 2 3,140 02-12-2017, 06:57 PM
Last Post: organic
  [SOLVED] RegisterNotification_Done error Keziolio 5 6,568 08-06-2014, 03:32 PM
Last Post: Mr. Bougo
  [SOLVED] Please help: -sessionid and an unique session name error anish01 2 5,448 05-10-2014, 03:30 AM
Last Post: Mr. Bougo
  [NEEDS INFO] Xontic filling all my RAM Indigo340 3 3,211 09-28-2013, 02:20 PM
Last Post: edh
  [SOLVED] How to download all maps at the same time? koper 7 9,253 09-15-2013, 03:33 AM
Last Post: Smilecythe

Forum Jump:

Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-