Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ale5000-git committed Sep 23, 2023
1 parent 5cb7650 commit 35e9166
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ fi

# Download files if they are missing
{
mkdir -p "${SCRIPT_DIR}/cache"
mkdir -p "${SCRIPT_DIR:?}/cache" || ui_error 'Failed to create "cache" dir'

current_dl_list="$(oss_files_to_download)" || ui_error 'Missing download list'
dl_list "${current_dl_list?}" || ui_error 'Failed to download the necessary files'
Expand All @@ -145,6 +145,8 @@ fi
echo 'Skipped not OSS files!'
fi

rm -f -r "${SCRIPT_DIR:?}/cache/temp" || ui_error 'Failed to remove "cache/temp" dir'

unset current_dl_list
}

Expand Down

0 comments on commit 35e9166

Please sign in to comment.