aboutsummaryrefslogtreecommitdiff
path: root/system/nvidia-legacy340-driver/nvidia-legacy340-driver.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/nvidia-legacy340-driver/nvidia-legacy340-driver.SlackBuild')
-rw-r--r--system/nvidia-legacy340-driver/nvidia-legacy340-driver.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/nvidia-legacy340-driver/nvidia-legacy340-driver.SlackBuild b/system/nvidia-legacy340-driver/nvidia-legacy340-driver.SlackBuild
index b57bc72989541..7780a5bff9edc 100644
--- a/system/nvidia-legacy340-driver/nvidia-legacy340-driver.SlackBuild
+++ b/system/nvidia-legacy340-driver/nvidia-legacy340-driver.SlackBuild
@@ -2,6 +2,8 @@
# Slackware build script for nvidia-driver
# See changelog.txt
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nvidia-legacy340-driver
VERSION=${VERSION:-340.108}
MVERS=340
@@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}