From 34c4c0d19891e8b8842d8d8db9438c36fbfa7a1e Mon Sep 17 00:00:00 2001 From: Jeffrey Dick Date: Sun, 3 Aug 2014 16:12:32 +0700 Subject: desktop/recoll: Fix parameter testing condition. Signed-off-by: Willy Sudiarto Raharjo --- desktop/recoll/recoll.SlackBuild | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'desktop/recoll') diff --git a/desktop/recoll/recoll.SlackBuild b/desktop/recoll/recoll.SlackBuild index 1c1709ab3d..fb93169c24 100644 --- a/desktop/recoll/recoll.SlackBuild +++ b/desktop/recoll/recoll.SlackBuild @@ -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" \ -- cgit v1.2.3