Files
spark/src/web/api/quiet_build.sh
T

13 lines
190 B
Bash

#!/bin/bash
tmpfile=$(mktemp /tmp/quiet_build_log.XXXX)
BUILD_DIR=$1 ./build.sh "${@:2}" >$tmpfile 2>&1
if [ $? -eq 0 ]
then
rm $tmpfile
exit 0
else
cat $tmpfile
exit 1
fi