aboutsummaryrefslogtreecommitdiff
path: root/network/surf/surf.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/surf/surf.SlackBuild')
-rw-r--r--network/surf/surf.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/surf/surf.SlackBuild b/network/surf/surf.SlackBuild
index c111d6a3b7429..e3e834b08df34 100644
--- a/network/surf/surf.SlackBuild
+++ b/network/surf/surf.SlackBuild
@@ -20,6 +20,8 @@
# - remove patches/startfullscreen.diff as it's integrated into 0.7
# - update homepage.diff and searchengines.diff for 0.7
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=surf
VERSION=${VERSION:-2.0}
BUILD=${BUILD:-1}
@@ -33,7 +35,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}