pinebuds/build.sh

14 lines
250 B
Bash
Executable File

#!/bin/bash
# use AUDIO environment variable, default to "en"
AUDIO="${AUDIO:-en}"
make -j T=open_source DEBUG=1 >log.txt 2>&1
if [ $? -eq 0 ]; then
echo "build success"
else
echo "build failed and call log.txt"
cat log.txt | grep "error:*"
fi