bug 481901: Use tee to dump hdiutil output to log & file when mounting dmgs for repacking. r=pike
This commit is contained in:
Родитель
662037fa5f
Коммит
aa0ffb663c
|
@ -168,7 +168,7 @@ UNMAKE_PACKAGE = \
|
|||
}; \
|
||||
unset NEXT_ROOT; \
|
||||
export PAGER=true; \
|
||||
expect $(_ABS_MOZSRCDIR)/build/package/mac_osx/installdmg.ex $(UNPACKAGE) > hdi.output; \
|
||||
expect $(_ABS_MOZSRCDIR)/build/package/mac_osx/installdmg.ex $(UNPACKAGE) | tee hdi.output; \
|
||||
DEV_NAME=`perl -n -e 'if($$_=~/(\/dev\/disk[^ ]*)/) {print $$1."\n";exit;}'< hdi.output`; \
|
||||
MOUNTPOINT=`perl -n -e 'split(/\/dev\/disk[^ ]*/,$$_,2);if($$_[1]=~/(\/.[^\r]*)/) {print $$1;exit;}'< hdi.output` || cleanup 1; \
|
||||
rsync -a "$${MOUNTPOINT}/$(_APPNAME)" $(MOZ_PKG_DIR) || cleanup 1; \
|
||||
|
|
Загрузка…
Ссылка в новой задаче