I have this bash script which is trying to find a directory that partially changes on peoples systems.
Yet this does not seem to work - it just take the string literal.
Is there an easy to make it expand correctly?
Okay this is weird it works some of the time.
When I do this:
GIT_DIR=$HOMEDIR/AppData/Local/GitHub/PortableGit*/bin eval GIT_DIR_PASS=$GIT_DIR echo $GIT_DIR_PASS
I get the correct information out
but when I try to assign $GIT_DIR_PASS to another variable I get the string literal version.