summaryrefslogtreecommitdiff
path: root/development/spin/spin.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/spin/spin.SlackBuild')
-rw-r--r--development/spin/spin.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/spin/spin.SlackBuild b/development/spin/spin.SlackBuild
index d017efc6ed..53b99042a1 100644
--- a/development/spin/spin.SlackBuild
+++ b/development/spin/spin.SlackBuild
@@ -26,6 +26,8 @@
# along with this program (most likely, a file named COPYING). If
# not, see <http://www.gnu.org/licenses/>.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=spin
VERSION=${VERSION:-6.5.2}
BUILD=${BUILD:-1}
@@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}