diff options
Diffstat (limited to 'crtSignedContainer.sh')
-rwxr-xr-x | crtSignedContainer.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crtSignedContainer.sh b/crtSignedContainer.sh index 31b96fb..afefe21 100755 --- a/crtSignedContainer.sh +++ b/crtSignedContainer.sh @@ -141,7 +141,8 @@ importArchive () { if [ -d "$archsubdir" ]; then # We already have this subdir in the cache, make a backup - cp -rpT "$archsubdir" "$archsubdir.save" + rm -rf "$archsubdir.save" + cp -rp "$archsubdir" "$archsubdir.save" else # We don't yet have a subdir by this name, create it mkdir "$archsubdir" |