فهرست منبع

fixed broken file copy for files in multi level directories

Thanks to @marmarek for the report and help fixing!
Patrick Schleizer 8 سال پیش
والد
کامیت
e9fca8fb9f
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      vm-systemd/bind-dirs.sh

+ 1 - 1
vm-systemd/bind-dirs.sh

@@ -100,7 +100,7 @@ bind_dirs() {
          fi
       elif [ -f "$fso_ro" ]; then
          if [ ! -f "$fso_rw" ]; then
-            cp --archive --recursive "$fso_ro" "$fso_rw"
+            cp --archive --recursive --parents "$fso_ro" "$rw_dest_dir"
          fi
       else
          true "$fso_ro is neither a directory nor a file or does not exist, skipping."