./build: line 1161: [: -eq: unary operator expected

Flexup

Verified User
Joined
Feb 26, 2012
Messages
40
[FIX] ./build: line 1161: [: -eq: unary operator expected

Hello

I have this bug : "./build: line 1161: [: -eq: unary operator expected"

How to fix it ? :/
 
Last edited:
May you check line 1161 of the "build" file? Which version of CustomBuild is it?
 
Line 1161 : if [ ${ROUNDCUBE_MAJOR_VER} -eq 0 ]; then

#custom script configs
PMA_CONFIG=${CWD}/custom/phpmyadmin/config.inc.php
PMA_THEMES=${CWD}/custom/phpmyadmin/themes
SQUIRREL_CONFIG=${CWD}/custom/squirrelmail/config.php
ROUNDCUBE_CONFIG=${CWD}/custom/roundcube/config.inc.php
ROUNDCUBE_CONFIG_DB=${ROUNDCUBE_CONFIG}
ROUNDCUBE_CONFIG_OLD=${CWD}/custom/roundcube/main.inc.php
ROUNDCUBE_CONFIG_DB_OLD=${CWD}/custom/roundcube/db.inc.php
if [ ${ROUNDCUBE_MAJOR_VER} -eq 0 ]; then
ROUNDCUBE_CONFIG=${ROUNDCUBE_CONFIG_OLD}
ROUNDCUBE_CONFIG_DB=${ROUNDCUBE_CONFIG_DB_OLD}
fi
ROUNDCUBE_PLUGINS=${CWD}/custom/roundcube/plugins
ROUNDCUBE_SKINS=${CWD}/custom/roundcube/skins

Version : 1.2.41
 
Yes, I see it now, but it shouldn't break anything on your system, does it?
 
Yes, i can't update now :/

example :

He download phpmyadmin-.rar instead of phpmyadmin-4.x.rar (for all exim, mysql...etc)

RoundCube webmail 1.0.3 to update is available.

Latest version of phpMyAdmin:
Installed version of phpMyAdmin: 4.2.11-all-languages

phpMyAdmin 4.2.11-all-languages to update is available.
 
This occurred since the update of wget on Debian 7.7 64 bits
 
I'm on CentOS 6.6 64bit. Looks like we will have to wait for an update to the custombuild script.
 
Same problem here (CenTos 6.4 61 bits).
It looks like the versions.txt file is corrupt. The date of this file is 03-NOV-2014 and the size is 4.6 kB instead of 9.6 K on 31-OCT-2014.
 
Back
Top