Fixed target path creation

canary
WolverinDEV 2020-04-03 01:12:43 +02:00
parent deee8cd8e0
commit dcdebe36c4
1 changed files with 1 additions and 0 deletions

View File

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