Sunday, August 28, 2022

don't use tilde in variables

I had set 
$ANDROID_HOME=~/Android/Sdk 
but 
cd $ANDROID_HOME was not working.

It seems we should use $HOME instead of ~ when setting environment variables - or use the full path -  

No comments:

Post a Comment