From 853b2bc1d29b9a35d5f86a6b536a0c1b030c8d84 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 27 Jan 2022 15:30:34 -0500 Subject: development/cudatoolkit: Do not write to $CWD. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- development/cudatoolkit/cudatoolkit.SlackBuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/development/cudatoolkit/cudatoolkit.SlackBuild b/development/cudatoolkit/cudatoolkit.SlackBuild index a3f5598def77..6de824743b2a 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 -- cgit v1.2.3