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"
|
#DESTPATH="$ROOTFS""$DESTPATH"
|
||||||
PARENTPATHDEST="$(dirname "$PATHDEST")"
|
PARENTPATHDEST="$(dirname "$PATHDEST")"
|
||||||
mkdir -p "$PARENTPATHDEST"
|
mkdir -p "$PARENTPATHDEST"
|
||||||
cp -r "$PATHSRC" "$PATHDEST"
|
cp --dereference -r "$PATHSRC" "$PATHDEST"
|
||||||
done
|
done
|
||||||
|
|
||||||
CMD="$1"
|
CMD="$1"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user