# HG changeset patch # User Augie Fackler # Date 1373996371 14400 # Node ID 2b129f63d9107e749f447491b95a6c222b85c74b # Parent c4f8ba83bce47025469c8889c645a5f94c7d9322 hg-rebase-all: remove bashism diff --git a/.shell.d/50.hg_functions.sh b/.shell.d/50.hg_functions.sh --- a/.shell.d/50.hg_functions.sh +++ b/.shell.d/50.hg_functions.sh @@ -31,7 +31,7 @@ function hg_rebase_all () { hg co --clean $b out=$(hg rebase -d "$1") code=$? - grep "nothing to rebase" <(echo $out) + echo $out | grep "nothing to rebase" if [ $? = 0 ] ; then echo 'moving on' else