aboutsummaryrefslogtreecommitdiff
path: root/system/xrdp/xrdp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/xrdp/xrdp.SlackBuild')
-rw-r--r--system/xrdp/xrdp.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/xrdp/xrdp.SlackBuild b/system/xrdp/xrdp.SlackBuild
index fb5b470932bea..7e67a9021a3af 100644
--- a/system/xrdp/xrdp.SlackBuild
+++ b/system/xrdp/xrdp.SlackBuild
@@ -4,6 +4,8 @@
# Written by Phillip Warner <pc_warner@yahoo.com>
# Amended by David Allen <david.a58@optusnet.com.au>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xrdp
VERSION=${VERSION:-0.9.12}
BUILD=${BUILD:-1}
@@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}