aboutsummaryrefslogtreecommitdiff
path: root/development/gauche/gauche.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/gauche/gauche.SlackBuild')
-rw-r--r--development/gauche/gauche.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/gauche/gauche.SlackBuild b/development/gauche/gauche.SlackBuild
index d0073d916d8e7..086d700a1911f 100644
--- a/development/gauche/gauche.SlackBuild
+++ b/development/gauche/gauche.SlackBuild
@@ -27,6 +27,8 @@
# not, see <http://www.gnu.org/licenses/>.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gauche
VERSION=${VERSION:-0.9.5}
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}