diff options
Diffstat (limited to 'create_all_tarballs')
-rwxr-xr-x | create_all_tarballs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/create_all_tarballs b/create_all_tarballs index 9891e68..dd5e9cc 100755 --- a/create_all_tarballs +++ b/create_all_tarballs @@ -39,7 +39,7 @@ if [[ ! -e .git ]] || fi # Check remote branch -branch=`git branch --contains HEAD | grep -v "no branch" | head -n1 | cut -c 3-` +branch=`git branch --contains HEAD | egrep -v "no branch|detached" | head -n1 | cut -c 3-` if [[ -z "$branch" ]] || [[ -z "`git rev-parse --symbolic-full-name --remotes=\"*/$branch\"`" ]]; then echo "There is not active upstream branch. Exiting..." |