Follow symlinks when copying files
This commit is contained in:
parent
99be1f49af
commit
52cfb26a3a
|
@ -84,7 +84,7 @@ for fileIndex in ${!COPY[@]}; do
|
|||
#DESTPATH="$ROOTFS""$DESTPATH"
|
||||
PARENTPATHDEST="$(dirname "$PATHDEST")"
|
||||
mkdir -p "$PARENTPATHDEST"
|
||||
cp -r "$PATHSRC" "$PATHDEST"
|
||||
cp --dereference -r "$PATHSRC" "$PATHDEST"
|
||||
done
|
||||
|
||||
CMD="$1"
|
||||
|
|
Loading…
Reference in New Issue
Block a user