From 2f9d1b7ab3355ed90c557c4a075ea4fd16f4116c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 19 Mar 2015 13:16:00 +0300 Subject: Add parameters support in push.sh script. --- push.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/push.sh b/push.sh index e9c8c84..ac2032a 100755 --- a/push.sh +++ b/push.sh @@ -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 -- cgit v1.2.3-60-g2f50