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

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

Bump macfuse to 1.7_1.

It turns out the previous version was actually a beta version 1.6.

File size: 1.4 KB
Line 
1--- 10.5/packaging/macfuse-core/make-pkg.sh.old 2008-12-03 15:25:16.000000000 -0800
2+++ 10.5/packaging/macfuse-core/make-pkg.sh     2008-12-03 15:25:43.000000000 -0800
3@@ -88,7 +88,7 @@
4 
5 # Copy the uninstall script
6 UNINSTALL_DST="$DISTRIBUTION_FOLDER/Library/Filesystems/fusefs.fs/Support/uninstall-macfuse-core.sh"
7-sudo cp "$UNINSTALL_SCRIPT" "$UNINSTALL_DST"
8+sudo /bin/cp "$UNINSTALL_SCRIPT" "$UNINSTALL_DST"
9 sudo chmod 755 "$UNINSTALL_DST"
10 sudo chown root:wheel "$UNINSTALL_DST"
11 
12@@ -131,7 +131,7 @@
13 VOLUME_PATH="/Volumes/$VOLUME_NAME"
14 
15 # Copy over the package.
16-sudo cp -pRX "$OUTPUT_PACKAGE" "$VOLUME_PATH"
17+sudo /bin/cp -pRX "$OUTPUT_PACKAGE" "$VOLUME_PATH"
18 if [ $? -ne 0 ]
19 then
20     hdiutil detach "$VOLUME_PATH"
21@@ -139,14 +139,14 @@
22 fi
23 
24 # Set the custom icon.
25-sudo cp -pRX "$INSTALL_RESOURCES/.VolumeIcon.icns" "$VOLUME_PATH"/.VolumeIcon.icns
26+sudo /bin/cp -pRX "$INSTALL_RESOURCES/.VolumeIcon.icns" "$VOLUME_PATH"/.VolumeIcon.icns
27 sudo /Developer/Tools/SetFile -a C "$VOLUME_PATH"
28 
29 # Copy over the license file.
30-sudo cp "$INSTALL_RESOURCES/License.rtf" "$VOLUME_PATH"/License.rtf
31+sudo /bin/cp "$INSTALL_RESOURCES/License.rtf" "$VOLUME_PATH"/License.rtf
32 
33 # Copy over the CHANGELOG.txt.
34-sudo cp "../../../../CHANGELOG.txt" "$VOLUME_PATH"/CHANGELOG.txt
35+sudo /bin/cp "../../../../CHANGELOG.txt" "$VOLUME_PATH"/CHANGELOG.txt
36 
37 # Detach the volume.
38 hdiutil detach "$VOLUME_PATH"
Note: See TracBrowser for help on using the repository browser.