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

This commit is contained in:
xzvf
2022-06-15 16:28:07 +02:00
parent d8bb36f119
commit 5b030de20a
+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 ..