Skip to content

Instantly share code, notes, and snippets.

@LunaTheFoxgirl
Created July 12, 2025 14:41
Show Gist options
  • Select an option

  • Save LunaTheFoxgirl/60cda49e9fd9b95c837f2d4c09706523 to your computer and use it in GitHub Desktop.

Select an option

Save LunaTheFoxgirl/60cda49e9fd9b95c837f2d4c09706523 to your computer and use it in GitHub Desktop.
# Add SDKs
for folder in /opt/SDKs/*; do
if [ -d "$folder" ]; then
echo "Added SDK $folder..."
SDK_BIN="$folder/bin"
SDK_LIB="$folder/lib"
if [ -d "$SDK_BIN" ]; then
export PATH="$SDK_BIN:$PATH"
fi
if [ -d "$SDK_LIB" ]; then
export PATH="$SDK_LIB:$PATH"
fi
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment