This commit is contained in:
luk.lu
2022-10-24 12:27:25 +08:00
parent 439c4d6675
commit fcd08cd98e
8 changed files with 24 additions and 21 deletions

View File

@@ -36,11 +36,11 @@ pushd $FONPATH
echo "*** Starting from [`pwd`] ***"
echo ""
find . -mindepth 1 -maxdepth 3 -type d -name '?*' | grep -v 'node_modules' | while read repo
find . -mindepth 1 -maxdepth 3 -type d -name '[^.]*' | grep -v 'node_modules' | while read repo
do
if [ -d "$repo/.git" ]
then
echo "---- git pulling [`pwd`/$repo] ----"
echo "---- git pulling [$repo] ----"
pushd "$repo"
git pull --all
echo ""