Skip to content

Commit 7d43118

Browse files
committed
Quality of life improvement: make run.sh not run ff, if the build fails
1 parent ae8b5bd commit 7d43118

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

run.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
#!/bin/env sh
2+
3+
# make the script exit if any of the commands fail,
4+
# making fastfetch not run if the build failed.
5+
set -e
6+
27
mkdir -p build/
38
cd build/
49
cmake ..

0 commit comments

Comments
 (0)