Skip to content

Commit

Permalink
updated push_presets.ssh
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanminard committed Sep 9, 2013
1 parent 1ed963f commit ec140db
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions push_presets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,19 @@ cd ../../../
cd CloudsLibrary/src/VisualSystems

for i in `ls .` ; do

echo
echo
echo
if [ -e "$i/.git" ]; then
echo "UPDATING $i"
cd $i
git fetch origin
git checkout master
git add *
git commit -m "updating presets"
git pull
if [ $? -eq 0 ]; then
git push
git push origin master
fi
cd ..
fi
Expand Down

0 comments on commit ec140db

Please sign in to comment.