tools: Support invoke refresh.sh from any directory
This commit is contained in:
parent
737dcdbe93
commit
4686d7cf57
|
@ -95,6 +95,7 @@ done
|
|||
|
||||
MYNAME=`basename $0`
|
||||
|
||||
cd $WD
|
||||
if [ -x ./${MYNAME} ] ; then
|
||||
cd .. || { echo "ERROR: cd .. failed" ; exit 1 ; }
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue