summaryrefslogtreecommitdiffstats
path: root/crtSignedContainer.sh
diff options
context:
space:
mode:
Diffstat (limited to 'crtSignedContainer.sh')
-rwxr-xr-xcrtSignedContainer.sh3
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"
OpenPOWER on IntegriCloud