Quality of life improvement: make run.sh not run ff, if the build fails

This commit is contained in:
xzvf committed 2022-06-16 13:14:03 +02:00
1 parent d8bb36f119
commit 5b030de20a
1 file changed
+5
+5
View File
@@ -1,4 +1,9 @@
#!/bin/env sh
# make the script exit if any of the commands fail,
# making fastfetch not run if the build failed.
set -e
mkdir -p build/
cd build/
cmake ..