aboutsummaryrefslogtreecommitdiff
path: root/system/nvidia-kernel/nvidia-kernel.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/nvidia-kernel/nvidia-kernel.SlackBuild')
-rw-r--r--system/nvidia-kernel/nvidia-kernel.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/nvidia-kernel/nvidia-kernel.SlackBuild b/system/nvidia-kernel/nvidia-kernel.SlackBuild
index 73a5cd88b7f61..f2cb83b9afaa4 100644
--- a/system/nvidia-kernel/nvidia-kernel.SlackBuild
+++ b/system/nvidia-kernel/nvidia-kernel.SlackBuild
@@ -28,6 +28,8 @@
# see nvidia-driver/changelog.txt
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nvidia-kernel
VERSION=${VERSION:-460.73.01}
BUILD=${BUILD:-1}
@@ -59,7 +61,6 @@ unset ARCH
SRCNAM=NVIDIA-Linux-$TARGET-${VERSION}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=${PKG:-$TMP/package-$PRGNAM}
OUTPUT=${OUTPUT:-/tmp}