Adding support for mozconfig
This commit is contained in:
Родитель
1b9c52c09b
Коммит
12f4f4978d
|
@ -26,6 +26,9 @@
|
|||
# Assumes that at most two tinderboxes are running
|
||||
# simultaneously, depend and clobber.
|
||||
#
|
||||
# Assumes that if mozconfig exists, use it.
|
||||
#
|
||||
|
||||
|
||||
tinderbox_usage() {
|
||||
echo "Usage: tinderbox [depend|clobber] {start|stop|status|restart}"
|
||||
|
@ -54,7 +57,13 @@ case "$build_action" in
|
|||
echo "$build_type build already running with PID "`cat $build_type.pid`
|
||||
else
|
||||
echo "Starting $build_type tinderbox..."
|
||||
# Grab and use mozconfig if it exists.
|
||||
if test -f mozconfig; then
|
||||
echo "Found mozconfig..."
|
||||
nohup ./build-seamonkey.pl --$build_type --mozconfig mozconfig &
|
||||
else
|
||||
nohup ./build-seamonkey.pl --$build_type &
|
||||
fi
|
||||
echo "PID $!"
|
||||
echo $! > $build_type.pid
|
||||
\rm -f nohup.out
|
||||
|
|
Загрузка…
Ссылка в новой задаче