2014-02-17, 23:48
Hang on... if that's the order in which you typed the commands...
$ [ -z "$CC" ] && echo "true" || echo "false"
false
... means that the -z test failed, which means $CC isn't zero length, yes? So $CC must have already been defined before you did the export.
$ [ -z "$CC" ] && echo "true" || echo "false"
false
... means that the -z test failed, which means $CC isn't zero length, yes? So $CC must have already been defined before you did the export.