[X2Go-Commits] [x2goclient] 04/06: macbuild.sh: fix references of resources to access files from TOP_DIR.

git-admin at x2go.org git-admin at x2go.org
Sat Feb 14 22:21:13 CET 2015


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch feature/cleanup
in repository x2goclient.

commit 8122e9faaa0b0c5d7ad384cb1db9659381b1746a
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Sat Feb 14 06:31:21 2015 +0100

    macbuild.sh: fix references of resources to access files from TOP_DIR.
---
 debian/changelog |    1 +
 macbuild.sh      |   10 +++++-----
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9f25fa8..1f31910 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -187,6 +187,7 @@ x2goclient (4.0.3.2-0x2go1) UNRELEASED; urgency=medium
     - Also also specify the top dir when defining the path to the generated
       appbundle and dmg file in macbuild.sh.
     - Move Info.plist to res/ and update reference in x2goclient.pro.
+    - Fix references of resources in macbuild.sh to access files from TOP_DIR.
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Thu, 27 Nov 2014 12:01:43 +0100
 
diff --git a/macbuild.sh b/macbuild.sh
index ac3cb4e..ffe21ff 100755
--- a/macbuild.sh
+++ b/macbuild.sh
@@ -69,12 +69,12 @@ ${PKG_DMG} \
 	--volname "x2goclient" \
 	--verbosity 2 \
 	--mkdir "/.background" \
-	--copy "./res/img/png/macinstaller_background.png:/.background" \
-	--copy "./macdmg.DS_Store:/.DS_Store" \
-	--copy "./LICENSE" \
-	--copy "./COPYING" \
+	--copy "${TOP_DIR}/res/img/png/macinstaller_background.png:/.background" \
+	--copy "${TOP_DIR}/macdmg.DS_Store:/.DS_Store" \
+	--copy "${TOP_DIR}/LICENSE" \
+	--copy "${TOP_DIR}/COPYING" \
 	--symlink "/Applications: " \
-	--icon "./res/img/icons/x2go-mac.icns" \
+	--icon "${TOP_DIR}/res/img/icons/x2go-mac.icns" \
 	--format "UDBZ"
 
 popd

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git


More information about the x2go-commits mailing list