aboutsummaryrefslogtreecommitdiff
path: root/system/trrntzip/trrntzip.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/trrntzip/trrntzip.SlackBuild')
-rw-r--r--system/trrntzip/trrntzip.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/trrntzip/trrntzip.SlackBuild b/system/trrntzip/trrntzip.SlackBuild
index 2cc819f6d0692..be9843d333775 100644
--- a/system/trrntzip/trrntzip.SlackBuild
+++ b/system/trrntzip/trrntzip.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=trrntzip
VERSION=${VERSION:-v02}
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}