mirror of
https://git.planet-casio.com/Lephenixnoir/sh-elf-gcc.git
synced 2024-12-28 04:23:39 +01:00
11 lines
190 B
Bash
11 lines
190 B
Bash
TAG="<sh-elf-gcc>"
|
|
|
|
run_quietly() {
|
|
out="$1"
|
|
shift 1
|
|
"$@" >$out 2>&1
|
|
if [[ "$?" != 0 ]]; then
|
|
echo "$tag error: build failed, please check $(pwd)/$out o(x_x)o"
|
|
exit 1
|
|
fi
|
|
}
|