Hello,
Quick question that has me a little confused
why do i get the following output:
myapple:~ user$ echo $MYENVVAR
someval
myapple:~ user$ cat test
echo $MYENVVAR
myapple:~ user$ ./test
myapple:~ user$
Shouldn't the test script echo "someval"?
why is the enviroment variable in the shell not being passed to the script that is executing? Obviously not, as this is not what is happening....
This is causing me all sorts of headaches trying to compile software that requires external enviroment variables!
Does anyone know why it is that this doesn't behave as i expected?
Thanks
Quick question that has me a little confused
why do i get the following output:
myapple:~ user$ echo $MYENVVAR
someval
myapple:~ user$ cat test
echo $MYENVVAR
myapple:~ user$ ./test
myapple:~ user$
Shouldn't the test script echo "someval"?
why is the enviroment variable in the shell not being passed to the script that is executing? Obviously not, as this is not what is happening....
This is causing me all sorts of headaches trying to compile software that requires external enviroment variables!
Does anyone know why it is that this doesn't behave as i expected?
Thanks