From 898848669cfd5f26e9034295d7c5d3c2401fca09 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Fri, 6 Dec 2019 10:08:42 -0600 Subject: [PATCH] Archive --- bin/archive | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/archive b/bin/archive index db48fa9..31d8517 100755 --- a/bin/archive +++ b/bin/archive @@ -1,5 +1,5 @@ #!/usr/bin/env bash -archive_name="${1}"; shift -tar czvf "${archive_name}.tar.gz" ${@} +archive_name="${1}.tar.gz"; shift +tar czvf "${archive_name}" ${@} echo "Archive created at: ${archive_name}"