This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Define the base directory for downloads relative to the script's location. | |
DOWNLOAD_DIR="../assets/thirdparty" | |
# Ensure DOWNLOAD_DIR is correctly set and not empty or root. | |
if [ -z "$DOWNLOAD_DIR" ] || [ "$DOWNLOAD_DIR" = "/" ]; then | |
echo "Error: DOWNLOAD_DIR is not set correctly." | |
exit 1 | |
fi |