Add Commit/Push for Libs, less verbose for cp

This commit is contained in:
robin 2021-05-17 12:08:36 +02:00
parent bd57ec0fd0
commit 016b8f76a9
2 changed files with 6 additions and 5 deletions

View File

@ -5,7 +5,7 @@ for val in "${StringArray[@]}"; do
if [ -e ../$val ] if [ -e ../$val ]
then then
echo $val echo $val
cp -vra ../$val . cp -ra ../$val .
fi fi
done done
cp -vra Libs zz_Skeleton cp -ra Libs zz_Skeleton

View File

@ -7,7 +7,8 @@ do
if [ -e "$entry/$findterm" ] if [ -e "$entry/$findterm" ]
then then
echo "$entry" echo "$entry"
cp -vra $src $entry cp -ra $src $entry
cd $entry
git commit "Libs/*" -m "Update Libs" && git push
fi fi
done done