pinebuds/build.sh
Dom Rodriguez 8e3ac20145
refactor(scripts): Use #!/usr/bin/env as part of shebang
This resolves build errors in systems like NixOS, where `/bin/bash`
doesn't exist.
2023-05-19 00:45:38 +01:00

8 lines
174 B
Bash
Executable file

#!/usr/bin/env sh
if make -j "$(nproc)" T=open_source DEBUG=1 >log.txt 2>&1; then
echo "build success"
else
echo "build failed and call log.txt"
grep "error:" log.txt
fi