summaryrefslogtreecommitdiff
path: root/desktop/ratpoison/ratpoison.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/ratpoison/ratpoison.SlackBuild')
-rw-r--r--desktop/ratpoison/ratpoison.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop/ratpoison/ratpoison.SlackBuild b/desktop/ratpoison/ratpoison.SlackBuild
index 9737bd2096..0d0439438e 100644
--- a/desktop/ratpoison/ratpoison.SlackBuild
+++ b/desktop/ratpoison/ratpoison.SlackBuild
@@ -29,7 +29,7 @@ VERSION=1.4.1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=`pwd`
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -38,7 +38,7 @@ OUTPUT=${OUTPUT:-/tmp}
# The default is xterm if it's not specified in ./configure, so
# we'll leave it that way here. You can specify rxvt or something
# else if you wish
-XTERM=xterm
+XTERM=${XTERM:-xterm}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
@@ -68,7 +68,7 @@ make install-strip DESTDIR=$PKG || exit 1
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
- for i in `find . -type l` ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+ for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
)
gzip -9 $PKG/usr/info/*.info