aboutsummaryrefslogtreecommitdiff
path: root/system/nvidia-legacy470-kernel
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-02-14 00:29:14 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-02-18 10:06:57 +0700
commite02b679fe2cff1dcefd3bc73aada068824ab230f (patch)
tree4799fae3d547c5fe2cf744241d53186a62fad9fa /system/nvidia-legacy470-kernel
parent074d95aa9dc2a4864bd79c83296b0c0dc875760c (diff)
system/nvidia-legacy470-kernel: Align to 15.0 template.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/nvidia-legacy470-kernel')
-rw-r--r--system/nvidia-legacy470-kernel/nvidia-legacy470-kernel.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/nvidia-legacy470-kernel/nvidia-legacy470-kernel.SlackBuild b/system/nvidia-legacy470-kernel/nvidia-legacy470-kernel.SlackBuild
index 0982c17a4030c..9d9944297cd6c 100644
--- a/system/nvidia-legacy470-kernel/nvidia-legacy470-kernel.SlackBuild
+++ b/system/nvidia-legacy470-kernel/nvidia-legacy470-kernel.SlackBuild
@@ -28,6 +28,8 @@
# see nvidia-driver/changelog.txt
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nvidia-legacy470-kernel
VERSION=${VERSION:-470.161.03}
BUILD=${BUILD:-1}
@@ -66,7 +68,6 @@ fi
SRCNAM=NVIDIA-Linux-$TARGET-${VERSION}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=${PKG:-$TMP/package-$PRGNAM}
OUTPUT=${OUTPUT:-/tmp}