xiaoxiang781216 commented on code in PR #10335:
URL: https://github.com/apache/nuttx/pull/10335#discussion_r1301826383


##########
tools/refresh.sh:
##########
@@ -151,6 +152,14 @@ for CONFIG in ${CONFIGS}; do
   fi
 
   BOARDDIR=boards/*/*/$BOARDSUBDIR

Review Comment:
   let's change to:
   ```
   BOARDDIR=$(dirname `dirname ${CONFIG}`)
   if [ ! -d $BOARDDIR ]; then
     BOARDDIR="${CWD}/${BOARDDIR}"
   fi
   
   if [  -d $BOARDDIR ]; then
     CONFIGSUBDIR=`basename ${CONFIG}`
   else
     BOARDDIR=boards/*/*/$BOARDSUBDIR
   fi
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to