aboutsummaryrefslogtreecommitdiff
path: root/system/spman/spman.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/spman/spman.SlackBuild')
-rw-r--r--system/spman/spman.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/spman/spman.SlackBuild b/system/spman/spman.SlackBuild
index 7107d48401142..9321028b87cfc 100644
--- a/system/spman/spman.SlackBuild
+++ b/system/spman/spman.SlackBuild
@@ -27,6 +27,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=spman
VERSION=${VERSION:-2.2.2}
BUILD=${BUILD:-1}
@@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}