aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorJeffrey Dick <j3ffdick@gmail.com>2014-08-03 16:12:32 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-03 16:25:07 +0700
commit34c4c0d19891e8b8842d8d8db9438c36fbfa7a1e (patch)
tree46408dc3562181a356ee5c4ba8a78f4214bc2861 /desktop
parentddb2e73576c9b1da41d3b8270a78230f74c42271 (diff)
desktop/recoll: Fix parameter testing condition.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/recoll/recoll.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/desktop/recoll/recoll.SlackBuild b/desktop/recoll/recoll.SlackBuild
index 1c1709ab3d803..fb93169c2430d 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" \