diff --git a/bin/mkvm.sh b/bin/mkvm.sh index a41ae1f..e94e495 100755 --- a/bin/mkvm.sh +++ b/bin/mkvm.sh @@ -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"