aboutsummaryrefslogtreecommitdiff
path: root/system/spman
diff options
context:
space:
mode:
Diffstat (limited to 'system/spman')
-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 7107d4840114..9321028b87cf 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}