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 [NEED HELP] Segmentation fault (HTTP error 422) at the end of the first map John 1 379 11-04-2022, 10:05 AM
Last Post: John
  [BUG] Command line typing issues teratorn 5 2,435 04-12-2018, 04:02 AM
Last Post: teratorn
  [SOLVED] linux compile/link error BuddyFriendGuy 2 3,064 11-27-2017, 05:18 PM
Last Post: BuddyFriendGuy
Bug [BUG] Permission Denied line 131 Ubuntu 14 ilyasofficial 2 2,792 10-22-2017, 06:39 AM
Last Post: martin-t
  [NEEDS INFO] Custom map - Host Error: Mod_MAP_Mode: not yet implemented teratorn 6 4,550 03-07-2017, 04:29 AM
Last Post: SpiKe
  [SOLVED] RegisterNotification_Done error Keziolio 5 5,875 08-06-2014, 03:32 PM
Last Post: Mr. Bougo
  [SOLVED] Please help: -sessionid and an unique session name error anish01 2 4,614 05-10-2014, 03:30 AM
Last Post: Mr. Bougo
  [SOLVED] Quake Error "Video modes failed" on 2nd startup RpD 4 9,123 07-19-2013, 04:02 PM
Last Post: RpD
  [SOLVED] Parse error. aa 15 8,736 06-06-2013, 11:09 AM
Last Post: Maddin
  [NEEDS INFO] Netradiant crashing error korfi 4 3,994 05-31-2013, 02:08 PM
Last Post: korfi

Forum Jump:

Users browsing this thread:
1 Guest(s)

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