From f403169176ad2057047a291869850c8a0f68797c Mon Sep 17 00:00:00 2001 From: Nathan Broadbent Date: Fri, 3 Feb 2012 15:03:20 +0800 Subject: [PATCH] Escape git command (in case it's aliased) --- lib/git/tools.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/git/tools.sh b/lib/git/tools.sh index cb45e2c..a110ad0 100644 --- a/lib/git/tools.sh +++ b/lib/git/tools.sh @@ -134,7 +134,7 @@ update_travis_ci_status() { # Either update all branches, or only current branch if [ "$UPDATE_ALL_BRANCHES" = "true" ]; then # All branches on origin remotes - local branches="$(git branch -a | sed "s/ *remotes\/origin\///;tm;d;:m;/^HEAD/d;")" + local branches="$(\git branch -a | sed "s/ *remotes\/origin\///;tm;d;:m;/^HEAD/d;")" # Create a new, blank temp file echo -n > "$tmp_stat_file" else