ispCP - Board - Support
set-gui-permissions.sh: line 39: syntax error near unexpected token - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Update/Upgrade (/forum-44.html)
+--- Thread: set-gui-permissions.sh: line 39: syntax error near unexpected token (/thread-2741.html)



set-gui-permissions.sh: line 39: syntax error near unexpected token - Eminos - 03-15-2008 08:00 AM

Hello,

Just checked out the trunk and tried a RC3 -> "RC4" upgrade.
Using Debian Etch.

This is what I got:

Code:
Rebuilding system configurations...done
/var/www/ispcp/engine/setup/set-gui-permissions.sh: line 39: syntax error near unexpected token `$'
/var/www/ispcp/engine/setup/set-gui-permissions.sh: line 39: `  for a in `cat /usr/local/etc/ispcp/ispcp.conf | grep -E '(APACHE_|ROOT_|MTA_MAILBOX_|^LOG_DIR)' | sed -e 's/ //g'`; $'
ERROR: External command '/bin/bash /var/www/ispcp/engine/setup/set-gui-permissions.sh' returned '2' status !

/E


RE: set-gui-permissions.sh: line 39: syntax error near unexpected token - RatS - 03-15-2008 08:05 AM

jo; change the "$" with "do"

seems to be a nano copy-and-past-error.


RE: set-gui-permissions.sh: line 39: syntax error near unexpected token - Eminos - 03-15-2008 08:11 AM

Oh, thanks.

I just made a ticket. Sorry.

/E


RE: set-gui-permissions.sh: line 39: syntax error near unexpected token - Eminos - 03-15-2008 08:14 AM

Wait a minute. What am I suposed to change? Big Grin
I just folowed the update instructions, and made it fine to the "perl ispcp-update". I don't know what $ to change to "do" ?? Or maybe I misunderstood?

I will try the 1062 revision now.

/E