mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 23:42:23 -04:00
strip trailing whitespace
This commit is contained in:
parent
53ec756373
commit
47d567a109
1 changed files with 5 additions and 5 deletions
|
@ -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=$?
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue