Skip to content

Commit 921e4a6

Browse files
Merge pull request #176 from x-zvf/fix-run-sh-script
Quality of life improvement: make run.sh not run ff, if the build fails
2 parents ae8b5bd + 7d43118 commit 921e4a6

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)