diff options
author | Denis Vlasenko | 2008-04-27 22:06:24 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-04-27 22:06:24 +0000 |
commit | c0431ed455a601ddbfcd9f30d6397d4e9145cf54 (patch) | |
tree | 7eade59699338d065827751d37e72e45d2b4440b /applets/install.sh | |
parent | 4809a9f78eecc7346e5d73b7f60ae6c51e057632 (diff) | |
download | busybox-c0431ed455a601ddbfcd9f30d6397d4e9145cf54.zip busybox-c0431ed455a601ddbfcd9f30d6397d4e9145cf54.tar.gz |
cp: fix "cp -RL" to create regular files even if src is a symlink
Diffstat (limited to 'applets/install.sh')
-rwxr-xr-x | applets/install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applets/install.sh b/applets/install.sh index e94b2b9..32049b1 100755 --- a/applets/install.sh +++ b/applets/install.sh @@ -37,7 +37,7 @@ if [ -n "$DO_INSTALL_LIBS" ] && [ "$DO_INSTALL_LIBS" != "n" ]; then for i in $DO_INSTALL_LIBS; do rm -f $prefix/$libdir/$i || exit 1 if [ -f $i ]; then - cp -a $i $prefix/$libdir/ || exit 1 + cp -pPR $i $prefix/$libdir/ || exit 1 chmod 0644 $prefix/$libdir/$i || exit 1 fi done |