about summary refs log tree commit diff stats
path: root/distribute.sh
diff options
context:
space:
mode:
authorCharadon <dev@iotib.net>2022-10-02 11:02:14 -0400
committerCharadon <dev@iotib.net>2022-10-02 11:02:14 -0400
commit27f4613a098f7a6a9ec74f125ad07b5310b558af (patch)
treef00084dd1179bfccd68cc2b5e9d4ad636a5bb920 /distribute.sh
parentb1aedc9e90088ca67e7b1e265daa6545d0fd028e (diff)
downloadPong-C-27f4613a098f7a6a9ec74f125ad07b5310b558af.tar.gz
distribute.sh: Fixed issue where on some systems, rm not finding a file counts as an error.
Diffstat (limited to 'distribute.sh')
-rwxr-xr-xdistribute.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/distribute.sh b/distribute.sh
index ba70f0e..02c0369 100755
--- a/distribute.sh
+++ b/distribute.sh
@@ -86,10 +86,12 @@ then
 	fi
 	exit 0
 else
+	set +e
 	# Remove GL drivers, as they almost always conflict with system driver.
 	rm libs/libGL*
 	rm libs/libdrm*
 	# Remove libstdc++
 	rm libs/libstdc++*
+	set -e
 	bsdtar --options gzip:compression-level=9 -caf ../Pong_"$(uname -s)-$(uname -r)-$(uname -m)".tgz -- *
 fi