-
-
Save Hobadee/2c0564d729fe161a114977000ad9840b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/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 $@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For using with GAM-ADV-XTD3