sface-0.9-7 is broken for macos packaging, fix attempt
[sface.git] / macos / build-dmg.sh
index 9f893ba..323ab8f 100755 (executable)
@@ -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