development/cudatoolkit: Do not write to $CWD.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2022-01-27 15:30:34 -05:00 committed by Willy Sudiarto Raharjo
parent 328784b294
commit 853b2bc1d2
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -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