summaryrefslogtreecommitdiffstats
path: root/development/smalltalk/smalltalk.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/smalltalk/smalltalk.SlackBuild')
-rw-r--r--development/smalltalk/smalltalk.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/smalltalk/smalltalk.SlackBuild b/development/smalltalk/smalltalk.SlackBuild
index bcb753b29b..998ab243a4 100644
--- a/development/smalltalk/smalltalk.SlackBuild
+++ b/development/smalltalk/smalltalk.SlackBuild
@@ -23,6 +23,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=smalltalk
VERSION=${VERSION:-3.2.5}
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}