Skip to content

Instantly share code, notes, and snippets.

View mschabhuettl's full-sized avatar

Matthias Schabhüttl mschabhuettl

View GitHub Profile
@mschabhuettl
mschabhuettl / download_third_party_libraries.sh
Last active April 2, 2024 03:11
scripts/download_third_party_libraries.sh
#!/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