mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-10-21 15:18:19 +00:00
085ee7991d
imgexport records an extra file with its destination directory. When that directory did not exist, imgimport copied the file to the path of the directory, so the file took the name of the directory. When a file was at that path, imgimport replaced it. imgimport now creates the destination directory and its missing parents, as it does for an extra directory. A file at that path fails the import and stays as it was. The copy runs without a shell, so a file name with glob characters cannot match another file. A failed backup of the previous file now fails the import.