зеркало из https://github.com/mozilla/pjs.git
make these work out-of-the-box on our mac b=346013 r=rhelmer
This commit is contained in:
Родитель
9e8fea9af8
Коммит
02ed333efe
|
@ -10,15 +10,13 @@ unpack_build () {
|
||||||
mac|mac-ppc)
|
mac|mac-ppc)
|
||||||
cd ../
|
cd ../
|
||||||
mkdir -p mnt
|
mkdir -p mnt
|
||||||
echo "y" | PAGER="/bin/cat" hdiutil attach \
|
echo "y" | PAGER="/bin/cat" hdiutil attach -quiet -puppetstrings -noautoopen -mountpoint ./mnt "$pkg_file" > /dev/null
|
||||||
-quiet -puppetstrings -noautoopen \
|
|
||||||
-mountpoint ./mnt "$pkg_file" > /dev/null
|
|
||||||
rsync -a ./mnt/* $dir_name/
|
rsync -a ./mnt/* $dir_name/
|
||||||
hdiutil detach mnt > /dev/null
|
hdiutil detach mnt > /dev/null
|
||||||
cd $dir_name
|
cd $dir_name
|
||||||
;;
|
;;
|
||||||
win32)
|
win32)
|
||||||
7zr x ../"$pkg_file" > /dev/null
|
/usr/local/bin/7za x ../"$pkg_file" > /dev/null
|
||||||
for file in *.xpi
|
for file in *.xpi
|
||||||
do
|
do
|
||||||
unzip -o $file > /dev/null
|
unzip -o $file > /dev/null
|
||||||
|
@ -26,7 +24,7 @@ unpack_build () {
|
||||||
|
|
||||||
;;
|
;;
|
||||||
linux)
|
linux)
|
||||||
tar xfvz ../"$pkg_file" > /dev/null
|
tar xfz ../"$pkg_file" > /dev/null
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче