aboutsummaryrefslogtreecommitdiff
path: root/accessibility/xsel/xsel.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/xsel/xsel.SlackBuild')
-rw-r--r--accessibility/xsel/xsel.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/accessibility/xsel/xsel.SlackBuild b/accessibility/xsel/xsel.SlackBuild
index 5d0d8a1fd3f86..880e326a78d63 100644
--- a/accessibility/xsel/xsel.SlackBuild
+++ b/accessibility/xsel/xsel.SlackBuild
@@ -7,6 +7,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xsel
VERSION=${VERSION:-1.2.0}
BUILD=${BUILD:-1}
@@ -20,7 +22,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}