in my script there is a variable , say temp. i have initialized it to 1. my script calls itself recursively. in my script i change that variable to 2 depending on some condition. now second time when script is called recursively again it will be initialized to 1 . what i want is that second time when i call script the previously changed value shuld stay because depending on that i wil do some other execution. even i tried with environment variable instead of simple variable but same thing is happening.