source: trunk/dports/fuse/macfuse/files/patch-10.5-packaging-macfuse-core-make-pkg.sh @ 38081

Last change on this file since 38081 was 38081, checked in by eridius@…, 12 years ago

Update macfuse to 1.7

Also include the patch from #15274 to fix cp->/bin/cp

File size: 715 bytes
Line 
1--- 10.5/packaging/macfuse-core/make-pkg.sh.orig        2007-11-04 12:15:47.000000000 -0700
2+++ 10.5/packaging/macfuse-core/make-pkg.sh     2008-07-05 15:31:40.000000000 -0600
3@@ -131,7 +131,7 @@
4 VOLUME_PATH="/Volumes/$VOLUME_NAME"
5 
6 # Copy over the package.
7-sudo cp -pRX "$OUTPUT_PACKAGE" "$VOLUME_PATH"
8+sudo /bin/cp -pRX "$OUTPUT_PACKAGE" "$VOLUME_PATH"
9 if [ $? -ne 0 ]
10 then
11     hdiutil detach "$VOLUME_PATH"
12@@ -139,7 +139,7 @@
13 fi
14 
15 # Set the custom icon.
16-sudo cp -pRX "$INSTALL_RESOURCES/.VolumeIcon.icns" "$VOLUME_PATH"/.VolumeIcon.icns
17+sudo /bin/cp -pRX "$INSTALL_RESOURCES/.VolumeIcon.icns" "$VOLUME_PATH"/.VolumeIcon.icns
18 sudo /Developer/Tools/SetFile -a C "$VOLUME_PATH"
19 
20 # Copy over the license file.
21
Note: See TracBrowser for help on using the repository browser.