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}"