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