feat: less output in scripts
This commit is contained in:
parent
9765ea1007
commit
5cf3d5f9ce
|
@ -18,14 +18,14 @@ for submodule in $submodules; do
|
||||||
else
|
else
|
||||||
cd $repo_dir
|
cd $repo_dir
|
||||||
git fetch --all
|
git fetch --all
|
||||||
cd -
|
cd - > /dev/null
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
repo_names[$repo_name]=1
|
repo_names[$repo_name]=1
|
||||||
cd $repo_dir
|
cd $repo_dir
|
||||||
git checkout -q $branch
|
git checkout -q $branch
|
||||||
git reset -q --hard origin/$branch
|
git reset -q --hard origin/$branch
|
||||||
cd -
|
cd - > /dev/null
|
||||||
submodule_dir="$submodules_dir/$repo_name/$submodule"
|
submodule_dir="$submodules_dir/$repo_name/$submodule"
|
||||||
mkdir -p $submodule_dir
|
mkdir -p $submodule_dir
|
||||||
cp -rT $repo_dir $submodule_dir
|
cp -rT $repo_dir $submodule_dir
|
||||||
|
|
|
@ -17,5 +17,5 @@ for submodule in $submodules; do
|
||||||
mv -f "joj3_result.json" "expected.json"
|
mv -f "joj3_result.json" "expected.json"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
cd -
|
cd - > /dev/null
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue
Block a user