mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-12 13:06:16 +00:00
Remove useless curly brackets.
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
576d5a22ca
commit
44c7e02c94
1 changed files with 10 additions and 10 deletions
|
@ -12,7 +12,7 @@
|
||||||
# adjust to your install location of gtk-mac-bundler. I appear to need at
|
# adjust to your install location of gtk-mac-bundler. I appear to need at
|
||||||
# least 0.7.2
|
# least 0.7.2
|
||||||
BUNDLER=../.local/bin/gtk-mac-bundler
|
BUNDLER=../.local/bin/gtk-mac-bundler
|
||||||
BUNDLER_SRC=${HOME}/gtk-mac-bundler
|
BUNDLER_SRC=$HOME/gtk-mac-bundler
|
||||||
|
|
||||||
# install location of yourway-create-dmg
|
# install location of yourway-create-dmg
|
||||||
DMGCREATE=../yoursway-create-dmg/create-dmg
|
DMGCREATE=../yoursway-create-dmg/create-dmg
|
||||||
|
@ -32,7 +32,7 @@ VERSION=$(./scripts/get-version darwin)
|
||||||
# export APPLICATION_CERT=Dirk
|
# export APPLICATION_CERT=Dirk
|
||||||
|
|
||||||
# force rebuilding of Info.plist
|
# force rebuilding of Info.plist
|
||||||
rm ${INFOPLIST}
|
rm $INFOPLIST
|
||||||
|
|
||||||
# first build and install Subsurface and then clean up the staging area
|
# first build and install Subsurface and then clean up the staging area
|
||||||
make
|
make
|
||||||
|
@ -40,12 +40,12 @@ make install-macosx
|
||||||
rm -rf ./staging
|
rm -rf ./staging
|
||||||
|
|
||||||
# now populate it with the bundle
|
# now populate it with the bundle
|
||||||
${BUNDLER} packaging/macosx/subsurface.bundle
|
$BUNDLER packaging/macosx/subsurface.bundle
|
||||||
|
|
||||||
# correct the paths and names
|
# correct the paths and names
|
||||||
cd staging/Subsurface.app/Contents
|
cd staging/Subsurface.app/Contents
|
||||||
for i in Resources/lib/gdk-pixbuf-2.0/2.10.0/loaders/* ; do
|
for i in Resources/lib/gdk-pixbuf-2.0/2.10.0/loaders/* ; do
|
||||||
${BUNDLER_SRC}/bundler/run-install-name-tool-change.sh $i ${PREFIX} Resources change ;
|
$BUNDLER_SRC/bundler/run-install-name-tool-change.sh $i $PREFIX Resources change ;
|
||||||
done
|
done
|
||||||
for i in Resources/lib/*.dylib;
|
for i in Resources/lib/*.dylib;
|
||||||
do
|
do
|
||||||
|
@ -57,13 +57,13 @@ cd ../../..
|
||||||
codesign -s Dirk ./staging/Subsurface.app/Contents/MacOS/subsurface \
|
codesign -s Dirk ./staging/Subsurface.app/Contents/MacOS/subsurface \
|
||||||
./staging/Subsurface.app/Contents/MacOS/subsurface-bin
|
./staging/Subsurface.app/Contents/MacOS/subsurface-bin
|
||||||
|
|
||||||
if [ -f ./Subsurface-${VERSION}.dmg ]; then
|
if [ -f ./Subsurface-$VERSION.dmg ]; then
|
||||||
rm ./Subsurface-${VERSION}.dmg.bak
|
rm ./Subsurface-$VERSION.dmg.bak
|
||||||
mv ./Subsurface-${VERSION}.dmg ./Subsurface-${VERSION}.dmg.bak
|
mv ./Subsurface-$VERSION.dmg ./Subsurface-$VERSION.dmg.bak
|
||||||
fi
|
fi
|
||||||
|
|
||||||
${DMGCREATE} --background ./packaging/macosx/DMG-Background.png \
|
$DMGCREATE --background ./packaging/macosx/DMG-Background.png \
|
||||||
--window-size 500 300 --icon-size 96 --volname Subsurface-${VERSION} \
|
--window-size 500 300 --icon-size 96 --volname Subsurface-$VERSION \
|
||||||
--app-drop-link 380 205 \
|
--app-drop-link 380 205 \
|
||||||
--volicon ~/subsurface/packaging/macosx/Subsurface.icns \
|
--volicon ~/subsurface/packaging/macosx/Subsurface.icns \
|
||||||
--icon "Subsurface" 110 205 ./Subsurface-${VERSION}.dmg ./staging
|
--icon "Subsurface" 110 205 ./Subsurface-$VERSION.dmg ./staging
|
||||||
|
|
Loading…
Add table
Reference in a new issue