I define two variables in a shell script
RELEASE_TYPE="release"
CERT_TYPE="Prod"
and then I want to use it in something like this:
-l somepath/$RELEASE_TYPE/AndroidTZ1_4/tz-$CERT_TYPE
/something_release_Prod_non_relocatable.lib
As you can see, I use $RELEASE_TYPE and $CERT_TYPE when there's a trailing forward slash, but how can I use these vars also on the last bit, i.e. /something_$RELEASE_TYPE_$CERT_TYPE_non_relocatable.lib
? If I do that, the vars are not evaluated at all, i.e. I end up with something_
and none of the rest.
Also tried with +
and other chars, nothing gets me what I expected.
Any ideas? Thanks!