diff --git a/bin/git-bulk b/bin/git-bulk index f6c8e07..9d98c2c 100755 --- a/bin/git-bulk +++ b/bin/git-bulk @@ -108,7 +108,7 @@ function wsnameToCurrent () { while read workspace; do if [ -z "$workspace" ]; then continue; fi parseWsName "$workspace" - if echo 1>&2 "$PWD" | grep -o -q "$rwsdir"; then wsname="$rwsname" && return; fi + if echo "$PWD" | grep -o -q "$rwsdir"; then wsname="$rwsname" && return; fi done <<< "$(echo "$(listall)")" # when here then not in workspace dir echo 1>&2 "error: you are not in a workspace directory. your registered workspaces are:" && \