Hi,
I've a well unterstood problem, I wonder if there is a solution to it exists.
I've a script, let's call it qwe. qwe calls script asd, which finds an update(zxc) for script qwe and updates it. When it gets back to qwe, it continues to run the updated script zxc from the location where it left after calling asd.
What I want to do is, let shell load qwe. Run it in memory and do not go back to updated zxc after asd quits, and just continue to run qwe till the end.
Thanks in advance,
Ozgur
Files:
qwe
Code:
#! /bin/bash
echo line a1
. /home/ozgur/bin/asd
asd
Code:
#! /bin/bash
cp /home/ozgur/bin/zxc /home/ozgur/bin/qwe
zxc
Code:
#! /bin/bash
echo line b1
echo line b2
echo line b3
echo line b4
echo line b5
echo line b6
echo line b7
/home/ozgur/bin/asd