From 7137bcff285375f6280018d5e16e117d12e9ff6f Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Tue, 13 Jun 2006 22:59:29 +1000 Subject: [PATCH] Fix a couple of little bugs that crept in to p Signed-off-by: Neil Brown --- p | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.11.4.GIT