Skip to content

Commit

Permalink
Name tarball as the destination folder
Browse files Browse the repository at this point in the history
Signed-off-by: David Cassany <[email protected]>
  • Loading branch information
davidcassany committed Sep 13, 2024
1 parent 0cfcb69 commit 44cf3e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ function create_tarball {
local basepath
local error_msg="error creating tarball:"

basepath="$(basename "${src}")"
basepath="$(basename "${dst}")"

[ "$#" -lt 2 ] && _abort "${error_msg} two arguments required"
[ -d "${src}" ] || _abort "${error_msg} '${src}' is not a directory"
Expand Down

0 comments on commit 44cf3e7

Please sign in to comment.