|
@ -48,15 +48,15 @@ while [ "$1" ] ; do |
|
|
esac |
|
|
esac |
|
|
done |
|
|
done |
|
|
|
|
|
|
|
|
. scripts/parse-config |
|
|
|
|
|
|
|
|
|
|
|
if [ "$daemon_mode" = 1 ] ; then |
|
|
if [ "$daemon_mode" = 1 ] ; then |
|
|
|
|
|
. config/$config/config |
|
|
echo "Running $0 in the background (messages go to logfile only).." |
|
|
echo "Running $0 in the background (messages go to logfile only).." |
|
|
echo "Logfile: build/$ROCKCFG_ID/ROCK/logs/build_target.log" |
|
|
echo "Logfile: build/$ROCKCFG_ID/ROCK/logs/build_target.log" |
|
|
nohup $0 $options -nodaemon > /dev/null 2> /dev/null < /dev/null & |
|
|
nohup $0 $options -nodaemon > /dev/null 2> /dev/null < /dev/null & |
|
|
exit 0 |
|
|
exit 0 |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
. scripts/parse-config |
|
|
. scripts/functions |
|
|
. scripts/functions |
|
|
|
|
|
|
|
|
build_root="$base/build/$ROCKCFG_ID" |
|
|
build_root="$base/build/$ROCKCFG_ID" |
|
|