diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-05 17:11:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-05 17:11:03 +0300 |
commit | 541a09360b35780ae599da84ef74621c599e702a (patch) | |
tree | 4ad1839cbaec62e49204ed120ea60d16c2cc31aa /git.sh | |
parent | 7d6463bc19b1efad16ce12d6accd7c2843974c1a (diff) | |
download | evol-all-541a09360b35780ae599da84ef74621c599e702a.tar.gz evol-all-541a09360b35780ae599da84ef74621c599e702a.tar.bz2 evol-all-541a09360b35780ae599da84ef74621c599e702a.tar.xz evol-all-541a09360b35780ae599da84ef74621c599e702a.zip |
Add script for run any git command on all repos.
New script: git.sh
Diffstat (limited to 'git.sh')
-rwxr-xr-x | git.sh | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -0,0 +1,21 @@ +#!/bin/bash + +function status { + if [ ! -d "$1" ]; then + return + fi + DIR=`pwd` + cd "$1" + echo "$2:" + git $CMD + cd $DIR +} + +CMD="$1" +status . evol-all +status client-data client-data +status server-code server-code +status server-data server-data +status tools tools +status server-code/src/evol evol-hercules +status music music |