follow symlinks when copying env
This commit is contained in:
parent
d5e1f7ba09
commit
1c7f0c9761
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ cp -pR /lib/modules/`uname -r`/kernel/net $ROOTFS/lib/modules/`uname -r`/kernel/
|
|||
# Gracefully cp only if source file/dir exists
|
||||
function cp_it {
|
||||
if [ -e $1 ] || [ -d $1 ]; then
|
||||
cp -pr $1 $2
|
||||
cp -pRL $1 $2
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue