From beab7d44ca4dd2a79bbb41befe64bdfb145fbb82 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Thu, 7 Jun 2012 14:00:13 +0200 Subject: [PATCH 1/1] sface-0.9-7 is broken for macos packaging, fix attempt --- macos/build-dmg.sh | 4 ++-- sface.bin | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/macos/build-dmg.sh b/macos/build-dmg.sh index 9f893ba..323ab8f 100755 --- a/macos/build-dmg.sh +++ b/macos/build-dmg.sh @@ -171,8 +171,8 @@ Also make sure to trash the current one before retrying" make -C $temp/sface VERSIONTAG="${sface_tag}" SCMURL="${sface_GITPATH}" version # copy sfa/ and sface/ subdirs in image - rm -rf "$img_mnt"/$resource_path/{sfa,sface} - tar -C $temp/sfa -cf - sfa | tar -C "$img_mnt"/$resource_path/ -xf - + rm -rf "$img_mnt"/$resource_path/{sfa,clientbin,sface} + tar -C $temp/sfa -cf - sfa clientbin | tar -C "$img_mnt"/$resource_path/ -xf - tar -C $temp/sface -cf - sface | tar -C "$img_mnt"/$resource_path/ -xf - # copy binaries from sface to the bin dir diff --git a/sface.bin b/sface.bin index c7b8119..0de4852 100755 --- a/sface.bin +++ b/sface.bin @@ -8,7 +8,7 @@ FRAMEWORKS=$CONTENTS/Frameworks DYLD_FRAMEWORK_PATH=$FRAMEWORKS DYLD_LIBRARY_PATH=$RESOURCES PYTHONPATH=$RESOURCES:$FRAMEWORKS:$PYTHONPATH -PATH=$RESOURCES:$RESOURCES/sfa/clientbin/:$PATH +PATH=$RESOURCES:$RESOURCES/clientbin/:$PATH export DYLD_FRAMEWORK_PATH export DYLD_LIBRARY_PATH -- 2.43.0