desktop/recoll: Fix parameter testing condition.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Jeffrey Dick 2014-08-03 16:12:32 +07:00 committed by Willy Sudiarto Raharjo
parent ddb2e73576
commit 34c4c0d198

View file

@ -25,7 +25,7 @@
PRGNAM=recoll
VERSION=${VERSION:-1.19.14}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# from the official online documenatation:
@ -38,12 +38,12 @@ TAG=${TAG:-_SBo}
# to use this feature, set ENABLE_CAMELCASE to YES (default is to let it disabled)
ENABLE_CAMELCASE=${ENABLE_CAMELCASE:-"NO"}
if test $ENABLE_CAMELCASE=="YES"
then CAMEL_CASE_CONFIG="--enable-camelcase"
else CAMEL_CASE_CONFIG=""
if [ "$ENABLE_CAMELCASE" = "YES" ]; then
CAMEL_CASE_CONFIG="--enable-camelcase"
else
CAMEL_CASE_CONFIG=""
fi
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@ -84,7 +84,7 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \