inst_simple(): add -p flag to cp

master
Harald Hoyer 2009-08-13 14:22:54 +02:00
parent ed6220fd25
commit 860ace56f8
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ inst_simple() {
[[ -f $target ]] && return 0
mkdir -p "${target%/*}"
dinfo "Installing $src"
cp -fL "$src" "$target"
cp -pfL "$src" "$target"
}

# Same as above, but specialzed to handle dynamic libraries.