strip trailing whitespace

This commit is contained in:
Damien Elmes 2010-04-21 13:02:47 +09:00
parent 53ec756373
commit 47d567a109

View file

@ -22,23 +22,23 @@ fi
echo --- Configuring 'dist' folder... echo --- Configuring 'dist' folder...
if [ ! -e "dist/Applications" ] if [ ! -e "dist/Applications" ]
then then
ln -s /Applications dist/Applications ln -s /Applications dist/Applications
fi fi
if [ ! -d "dist/.background" ] if [ ! -d "dist/.background" ]
then then
mkdir dist/.background mkdir dist/.background
cp ankiqt/mac/anki-logo-bg.png dist/.background cp ankiqt/mac/anki-logo-bg.png dist/.background
fi fi
if [ ! -f "dist/.DS_Store" ] if [ ! -f "dist/.DS_Store" ]
then then
cp ankiqt/mac/dmg_ds_store dist/.DS_Store cp ankiqt/mac/dmg_ds_store dist/.DS_Store
fi fi
echo --- Creating writable DMG... echo --- Creating writable DMG...
hdiutil create -attach -ov -format UDRW -volname Anki -srcfolder dist -o Anki-rw.dmg hdiutil create -attach -ov -format UDRW -volname Anki -srcfolder dist -o Anki-rw.dmg
RESULT=$? RESULT=$?
@ -69,7 +69,7 @@ fi
echo --- Making final compressed DMG... echo --- Making final compressed DMG...
hdiutil convert "Anki-rw.dmg" -ov -format UDZO -imagekey zlib-level=9 -o Anki.dmg hdiutil convert "Anki-rw.dmg" -ov -format UDZO -imagekey zlib-level=9 -o Anki.dmg
RESULT=$? RESULT=$?