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'

#1
If you guys get this error message when updating from git:
Code:
all: line 673: syntax error near unexpected token `fi'
then don't worry... Just type this command where you would do ./all update:
Code:
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:
Code:
cd /xonotic
then close the shell window and run build.bat again.
Reply

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

(note the semicolon)
Reply

#3
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.
Reply



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 1,383 11-04-2022, 10:05 AM
Last Post: John
  [BUG] Command line typing issues teratorn 5 3,382 04-12-2018, 04:02 AM
Last Post: teratorn
  [SOLVED] linux compile/link error BuddyFriendGuy 2 3,841 11-27-2017, 05:18 PM
Last Post: BuddyFriendGuy
Bug [BUG] Permission Denied line 131 Ubuntu 14 ilyasofficial 2 3,389 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,944 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,444 02-12-2017, 06:57 PM
Last Post: organic
  [SOLVED] RegisterNotification_Done error Keziolio 5 6,960 08-06-2014, 03:32 PM
Last Post: Mr. Bougo
  [SOLVED] Please help: -sessionid and an unique session name error anish01 2 5,792 05-10-2014, 03:30 AM
Last Post: Mr. Bougo
  [NEEDS INFO] Xontic filling all my RAM Indigo340 3 3,427 09-28-2013, 02:20 PM
Last Post: edh
  [SOLVED] How to download all maps at the same time? koper 7 9,653 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-