This commit is contained in:
陆柯 2021-07-08 22:18:55 +08:00
parent 7167089396
commit c0be6a1da0

View File

@ -11,10 +11,10 @@ else
fi fi
fi fi
echo ">> Goto %FONPATH as base directory" echo ">> Goto $FONPATH as base directory"
pushd $FONPATH pushd $FONPATH
echo ">> `pwd`" echo ">> Current path = `pwd`"
for org in `ls .` for org in `ls .`
do do
if [ -d $org ] if [ -d $org ]
@ -22,7 +22,7 @@ do
cd $org; cd $org;
for repo in `ls .` for repo in `ls .`
do do
if [ -d $repo/package.json ] if [ -f $repo/package.json ]
then then
echo '>>>>>> npm booting: ' $org/$repo echo '>>>>>> npm booting: ' $org/$repo
cd $repo cd $repo