I'd like to save my current directory into a value.
I do it like this
dir=`dirname $0`
But when I now change the directory and use this variable, it seems that the expression gets evaluated anew.
Do you know how I can store it's value in the variable, not the expression itself?