aboutsummaryrefslogtreecommitdiff
path: root/development/src-vcs/src-vcs.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/src-vcs/src-vcs.SlackBuild')
-rw-r--r--development/src-vcs/src-vcs.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/src-vcs/src-vcs.SlackBuild b/development/src-vcs/src-vcs.SlackBuild
index dd9688f716c0e..11a4a2362375c 100644
--- a/development/src-vcs/src-vcs.SlackBuild
+++ b/development/src-vcs/src-vcs.SlackBuild
@@ -22,6 +22,8 @@
# with this program (most likely, a file named COPYING). If not, see
# <http://www.gnu.org/licenses/>.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=src-vcs
SRCNAM=src
VERSION=${VERSION:-1.28}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}