aboutsummaryrefslogtreecommitdiff
path: root/system/pytrash/pytrash.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/pytrash/pytrash.SlackBuild')
-rw-r--r--system/pytrash/pytrash.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/pytrash/pytrash.SlackBuild b/system/pytrash/pytrash.SlackBuild
index d76d65d082016..b34515bdc2b58 100644
--- a/system/pytrash/pytrash.SlackBuild
+++ b/system/pytrash/pytrash.SlackBuild
@@ -27,6 +27,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pytrash
VERSION=${VERSION:-1.1.4}
BUILD=${BUILD:-1}
@@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}