aboutsummaryrefslogtreecommitdiff
path: root/accessibility/pastebinit/pastebinit.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/pastebinit/pastebinit.SlackBuild')
-rw-r--r--accessibility/pastebinit/pastebinit.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/accessibility/pastebinit/pastebinit.SlackBuild b/accessibility/pastebinit/pastebinit.SlackBuild
index 9fcf853d00c7a..2f0000a6c3326 100644
--- a/accessibility/pastebinit/pastebinit.SlackBuild
+++ b/accessibility/pastebinit/pastebinit.SlackBuild
@@ -17,6 +17,8 @@
# 'invalid_api_key' trying to use the default pastebin.com.
# I guess nobody's using this, or I would have gotten bug reports.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pastebinit
VERSION=${VERSION:-1.5}
BUILD=${BUILD:-2}
@@ -24,7 +26,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}