Skip to content

Instantly share code, notes, and snippets.

@Hobadee
Created February 25, 2022 23:47
Show Gist options
  • Save Hobadee/2c0564d729fe161a114977000ad9840b to your computer and use it in GitHub Desktop.
Save Hobadee/2c0564d729fe161a114977000ad9840b to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
GAM=./gam.symlink
CLIENTS=$(ls $GAMCFGDIR)
for DIR in $CLIENTS; do
if [[ $DIR == $1 ]]; then
export GAMCFGDIR=$GAMCFGDIR/$DIR
shift
break
fi
done
echo "Using GAM config dir: $GAMCFGDIR" 1>&2
$GAM $@
@Hobadee
Copy link
Author

Hobadee commented Feb 25, 2022

For using with GAM-ADV-XTD3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment