From: Neil Brown Date: Tue, 13 Jun 2006 12:59:29 +0000 (+1000) Subject: Fix a couple of little bugs that crept in to p X-Git-Tag: v0.7~11 X-Git-Url: http://git.neil.brown.name/?a=commitdiff_plain;h=7137bcff285375f6280018d5e16e117d12e9ff6f;p=wiggle.git Fix a couple of little bugs that crept in to p Signed-off-by: Neil Brown --- diff --git a/p b/p index fe71a72..d3a8c5f 100755 --- a/p +++ b/p @@ -800,7 +800,7 @@ case $cmd in > .patches/files ;; openall ) - while p open last && p discard ; do : ; done + while $0 open last && $0 discard ; do : ; done ;; recommit ) make_diff @@ -906,7 +906,7 @@ case $cmd in export ) # there must be only one patch. We # git commit, p commit, p rebase - if [ -n `ls .patches/applied` ] + if [ -n "`ls .patches/applied`" ] then echo 'Cannot export when there are applied patches' exit 1;