I have a bash script bash-one.sh
that calls bash-two.sh
inside of it. I want bash-two.sh
to export some string once it's done running (the string is depending on some stuff that happens inside of the script) so that the bash-one.sh
script that's running it can use it later
I was trying to have bash-two.sh
echo $BLAH
but that doesnt work. I also tried having it export $BLAH
with no luck either...