mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
tools: Support invoke refresh.sh from any directory
This commit is contained in:
@@ -95,6 +95,7 @@ done
|
||||
|
||||
MYNAME=`basename $0`
|
||||
|
||||
cd $WD
|
||||
if [ -x ./${MYNAME} ] ; then
|
||||
cd .. || { echo "ERROR: cd .. failed" ; exit 1 ; }
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user