Bug 305131, Mac l10n bustage fix. l10n builds will need temp mounts unmounted. r=bsmedberg

This commit is contained in:
mark%moxienet.com 2005-08-23 14:00:52 +00:00
Родитель 690aeba2de
Коммит 197c1d189b
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -124,8 +124,8 @@ UNMAKE_PACKAGE = \
export PAGER=true; \
mkdir mount-temp; \
echo Y | hdiutil attach -readonly -mountpoint mount-temp -private -noautoopen $(UNPACKAGE) > hdi.output; \
DEV_NAME=`sed -e 's/^.*\(\/dev\/disk[^ ]*\).*$$/\1/;1q' < hdi.output`; \
MOUNTPOINT=`perl -n -e 'split(/\/dev\/disk[^ ]*/,$$_,2);if($$_[1]=~/(\/.*)/) {print $$1."\n";}'< 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]=~/(\/.*)/) {print $$1."\n";exit;}'< hdi.output`; \
rsync -a $${MOUNTPOINT}/$(_APPNAME) $(MOZ_PKG_APPNAME); \
hdiutil detach $${DEV_NAME}; \
$(NULL)