summaryrefslogtreecommitdiff
path: root/archive_an_image.sh
diff options
context:
space:
mode:
authorPatrick Darley <patrick.darley@codethink.co.uk>2015-09-18 13:26:09 +0000
committerWill Holland <william.holland@codethink.co.uk>2015-09-21 09:59:26 +0100
commit5e2325f5424d224a4a5173860a5881c52b9ce359 (patch)
tree6ebc8d7667c1ce98805e8cbd17d245f7e3e547cb /archive_an_image.sh
parentc432b7b9196ccc6aded72c3b7a01975eca139506 (diff)
downloadbuildslave-scripts-5e2325f5424d224a4a5173860a5881c52b9ce359.tar.gz
Make archiving executeable
Diffstat (limited to 'archive_an_image.sh')
-rwxr-xr-x[-rw-r--r--]archive_an_image.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/archive_an_image.sh b/archive_an_image.sh
index aec6c60..7bfc71d 100644..100755
--- a/archive_an_image.sh
+++ b/archive_an_image.sh
@@ -10,5 +10,5 @@ img_date=`date -r "$img_path" +"%y-%m-%d_%H%M"`
archive_path="$archive_dir$img_date"
mkdir -p "$archive_path"
-# Move the img to the archive
-mv "$img_path" "$archive_path"
+# Move the img to the archive - Copy for now due to tlsa scripts
+cp "$img_path" "$archive_path"