changeset 320:2b129f63d910

hg-rebase-all: remove bashism
author Augie Fackler <raf@durin42.com>
date Tue, 16 Jul 2013 13:39:31 -0400
parents c4f8ba83bce4
children e9932cf1692f
files .shell.d/50.hg_functions.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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