summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author B. Watson2022-01-27 21:30:34 +0100
committer Willy Sudiarto Raharjo2022-01-30 02:36:00 +0100
commit853b2bc1d29b9a35d5f86a6b536a0c1b030c8d84 (patch)
tree1f2c3b112d40cc781364d8f0dab778f3a6d134c5
parent328784b29430e6e1eda388978b7dcdf8ffcae191 (diff)
downloadslackbuilds-853b2bc1d29b9a35d5f86a6b536a0c1b030c8d84.tar.gz
development/cudatoolkit: Do not write to $CWD.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/cudatoolkit/cudatoolkit.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/cudatoolkit/cudatoolkit.SlackBuild b/development/cudatoolkit/cudatoolkit.SlackBuild
index a3f5598def..6de824743b 100644
--- a/development/cudatoolkit/cudatoolkit.SlackBuild
+++ b/development/cudatoolkit/cudatoolkit.SlackBuild
@@ -66,7 +66,8 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir -p $PRGNAM-$VERSION
-chmod +x $CWD/$FILENAME\_$VERSION\_$DRIVER\_linux.run
+# 20220127 bkw: it wasn't necessary to chmod +x the .run file. Plus,
+# SlackBuilds should *never* write to $CWD.
sh $CWD/$FILENAME\_$VERSION\_$DRIVER\_linux.run --target $PRGNAM-$VERSION --noexec
mkdir -p $PKG/usr/share