diff options
author | Patrick Darley <patrick.darley@codethink.co.uk> | 2015-09-18 13:34:06 +0000 |
---|---|---|
committer | Patrick Darley <patrick.darley@codethink.co.uk> | 2015-09-18 13:34:06 +0000 |
commit | fbde4e05e55a3f5ee7507aacbd67a4b033861235 (patch) | |
tree | 47661ae7c11483495e5dfdeda6c46f227d794a85 | |
parent | 8f9c706d90726d38a26a5c18a1b293f6a6fb19f5 (diff) | |
download | buildslave-scripts-fbde4e05e55a3f5ee7507aacbd67a4b033861235.tar.gz |
Fix the archive path problem. Should work now.
-rwxr-xr-x | archive_an_image.sh | 2 |
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 |