aboutsummaryrefslogtreecommitdiff
path: root/system/rdiff-backup/rdiff-backup.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/rdiff-backup/rdiff-backup.SlackBuild')
-rw-r--r--system/rdiff-backup/rdiff-backup.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/rdiff-backup/rdiff-backup.SlackBuild b/system/rdiff-backup/rdiff-backup.SlackBuild
index e87807281a617..265412dec8baf 100644
--- a/system/rdiff-backup/rdiff-backup.SlackBuild
+++ b/system/rdiff-backup/rdiff-backup.SlackBuild
@@ -23,6 +23,8 @@
# Modified by the SlackBuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rdiff-backup
VERSION=${VERSION:-1.2.8}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}