diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-19 13:16:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-19 13:16:00 +0300 |
commit | 2f9d1b7ab3355ed90c557c4a075ea4fd16f4116c (patch) | |
tree | 6a57b066a1000d6c798be5b04eec7aa1d2945024 /push.sh | |
parent | fbe9abd71922c064d14d5f193ecb79f367c83ec6 (diff) | |
download | all-2f9d1b7ab3355ed90c557c4a075ea4fd16f4116c.tar.gz all-2f9d1b7ab3355ed90c557c4a075ea4fd16f4116c.tar.bz2 all-2f9d1b7ab3355ed90c557c4a075ea4fd16f4116c.tar.xz all-2f9d1b7ab3355ed90c557c4a075ea4fd16f4116c.zip |
Add parameters support in push.sh script.
Diffstat (limited to 'push.sh')
-rwxr-xr-x | push.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -9,11 +9,12 @@ function status { STR=$(git status|grep "Your branch is ahead") if [[ -n "${STR}" ]]; then echo "Pushing $2" - git push + git push $CMD fi cd "$DIR" } +CMD="$*" status . evol-all status client-data client-data status server-code server-code |