From 4dad3eb68ba3aeed6e04863a8d10e1e12aa1912e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Fri, 19 Oct 2012 22:41:48 +0200 Subject: Don't add QtUI/Swift hierarchy to .dSYM.zip. Change-Id: I9a4e65835856b02338b03fead544a8c5342d52e5 diff --git a/Swift/QtUI/SConscript b/Swift/QtUI/SConscript index cb283bb..70a1038 100644 --- a/Swift/QtUI/SConscript +++ b/Swift/QtUI/SConscript @@ -285,7 +285,7 @@ if env["PLATFORM"] == "darwin" : if env["DIST"] : myenv.Command(["#/Packages/Swift/Swift-${SWIFT_VERSION}.dmg"], [app], ["Swift/Packaging/MacOSX/package.sh " + app.path + " Swift/Packaging/MacOSX/Swift.dmg.gz $TARGET $QTDIR"]) dsym = myenv.Command(["Swift-${SWIFT_VERSION}.dSYM"], ["Swift"], ["dsymutil -o ${TARGET} ${SOURCE}"]) - myenv.Command(["#/Packages/Swift/Swift-${SWIFT_VERSION}.dSYM.zip"], dsym, ["zip -r ${TARGET} ${SOURCE}"]) + myenv.Command(["#/Packages/Swift/Swift-${SWIFT_VERSION}.dSYM.zip"], dsym, ["cd ${SOURCE.dir} && zip -r ${TARGET.abspath} ${SOURCE.name}"]) if env.get("SWIFT_INSTALLDIR", "") : env.Install(os.path.join(env["SWIFT_INSTALLDIR"], "bin"), swiftProgram + openURIProgram) -- cgit v0.10.2-6-g49f6