summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Darley <patrick.darley@codethink.co.uk>2015-09-18 13:34:06 +0000
committerPatrick Darley <patrick.darley@codethink.co.uk>2015-09-18 13:34:06 +0000
commitfbde4e05e55a3f5ee7507aacbd67a4b033861235 (patch)
tree47661ae7c11483495e5dfdeda6c46f227d794a85
parent8f9c706d90726d38a26a5c18a1b293f6a6fb19f5 (diff)
downloadbuildslave-scripts-fbde4e05e55a3f5ee7507aacbd67a4b033861235.tar.gz
Fix the archive path problem. Should work now.
-rwxr-xr-xarchive_an_image.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/archive_an_image.sh b/archive_an_image.sh
index 7bfc71d..c283057 100755
--- a/archive_an_image.sh
+++ b/archive_an_image.sh
@@ -7,7 +7,7 @@ archive_dir=/archive/images
# Create am archive directory based on the img date
img_date=`date -r "$img_path" +"%y-%m-%d_%H%M"`
-archive_path="$archive_dir$img_date"
+archive_path="$archive_dir/$img_date"
mkdir -p "$archive_path"
# Move the img to the archive - Copy for now due to tlsa scripts