Browse Source

fixed netpbm file installation to preserve the symbolic links

git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2568 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Rene Rebe 21 years ago
parent
commit
4d0159e2f6
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      package/x11/netpbm/shared_files-fix.patch

+ 2
- 2
package/x11/netpbm/shared_files-fix.patch

@ -5,14 +5,14 @@
if (`cp --version 2>/dev/null` =~ m/GNU/) {
# It's GNU Cp -- we have options galore, and they're readable.
- $cpCommand = "cp --recursive --preserve --no-dereference";
+ $cpCommand = "cp --preserve";
+ $cpCommand = "cp --preserve --no-dereference";
} else {
# This works on Cp from "4th Berkeley Distribution", July 1994.
# Mac OSX has this.
- # -R means recursive with no dereferencing of symlinks
# -p means preserve attributes
- $cpCommand = "cp -R -p";
+ $cpCommand = "cp -p";
+ $cpCommand = "cp -p -d";
}
return($cpCommand);
}

Loading…
Cancel
Save