aboutsummaryrefslogtreecommitdiff
path: root/system/nvidia-legacy304-driver/nvidia-legacy304-driver.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/nvidia-legacy304-driver/nvidia-legacy304-driver.SlackBuild')
-rw-r--r--system/nvidia-legacy304-driver/nvidia-legacy304-driver.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/nvidia-legacy304-driver/nvidia-legacy304-driver.SlackBuild b/system/nvidia-legacy304-driver/nvidia-legacy304-driver.SlackBuild
index ad2032a001459..cfb7f5b0f8092 100644
--- a/system/nvidia-legacy304-driver/nvidia-legacy304-driver.SlackBuild
+++ b/system/nvidia-legacy304-driver/nvidia-legacy304-driver.SlackBuild
@@ -27,6 +27,8 @@
#
# See changelog.txt
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nvidia-legacy304-driver
VERSION=${VERSION:-304.137}
MVERS=304
@@ -42,7 +44,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}