Fixed target path creation
parent
deee8cd8e0
commit
dcdebe36c4
|
@ -173,6 +173,7 @@ function move_target_file() {
|
||||||
handle_failure -1 "Failed to find target file"
|
handle_failure -1 "Failed to find target file"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
mkdir -p packages || { echo "failed to create target path"; exit 1; }
|
||||||
target_file="../packages/$file_name"
|
target_file="../packages/$file_name"
|
||||||
if [[ -f "$target_file" ]]; then
|
if [[ -f "$target_file" ]]; then
|
||||||
echo "Removing old packed file located at $target_file"
|
echo "Removing old packed file located at $target_file"
|
||||||
|
|
Loading…
Reference in New Issue