aboutsummaryrefslogtreecommitdiff
path: root/system/nvidia-legacy390-driver/nvidia-legacy390-driver.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/nvidia-legacy390-driver/nvidia-legacy390-driver.SlackBuild')
-rw-r--r--system/nvidia-legacy390-driver/nvidia-legacy390-driver.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/nvidia-legacy390-driver/nvidia-legacy390-driver.SlackBuild b/system/nvidia-legacy390-driver/nvidia-legacy390-driver.SlackBuild
index 3255f4b57d13f..410c28a86c768 100644
--- a/system/nvidia-legacy390-driver/nvidia-legacy390-driver.SlackBuild
+++ b/system/nvidia-legacy390-driver/nvidia-legacy390-driver.SlackBuild
@@ -25,6 +25,8 @@
# see changelog.txt
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nvidia-legacy390-driver
VERSION=${VERSION:-390.143}
BUILD=${BUILD:-3}
@@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}