aboutsummaryrefslogtreecommitdiff
path: root/system/vifm/vifm.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/vifm/vifm.SlackBuild')
-rw-r--r--system/vifm/vifm.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/vifm/vifm.SlackBuild b/system/vifm/vifm.SlackBuild
index 3584134fc98c3..64319c862d5bf 100644
--- a/system/vifm/vifm.SlackBuild
+++ b/system/vifm/vifm.SlackBuild
@@ -17,6 +17,8 @@
# script tested with 0.10, 0.10.1-beta, and 0.10.1. I can't be
# bothered to support older versions (you're on your own).
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=vifm
VERSION=${VERSION:-0.11}
BUILD=${BUILD:-1}
@@ -30,7 +32,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}