Ticket #15274: patch-10.5-packaging-macfuse-core-make-pkg.sh

File patch-10.5-packaging-macfuse-core-make-pkg.sh, 715 bytes (added by blb@…, 12 years ago)

Patch for another script using unpathed cp

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