Weird behavior for a bash script
I am trying to create a very basic script that exports a global path variable.
I know I can include the export statement in my .bashrc file, but I don't want this variable set
unless I have to have it set. I guess I am hardheaded!
I can't get it to work.
Here is my script:
That's it. I did make it executable. When I run it, i get this:
ib:~$ echo $PKG_CONFIG_PATH
As you can see, the path is set in the script, but outside of it, still not changed.
What am I doing wrong? Did I miss something?
PS: Debian SID upgraded (apt-get upgrade) today. Using KDE and konsole!
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.