From c96fd5670aad5c02c6bddbaee4680f95e018dbac Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Thu, 23 Jun 2011 07:09:28 +0000 Subject: [PATCH] Fixed a problem with the revision (-r) parameter conditional test. --- svndiff.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svndiff.sh b/svndiff.sh index 1e97e8b..6dfc6a5 100644 --- a/svndiff.sh +++ b/svndiff.sh @@ -41,7 +41,7 @@ pv= trap 'rm -f $TEMP' 0 1 2 15 -if [ $# -eq 3 -a $2 = "-r" ]; then +if [ $# -eq 3 ] && [ $2 = "-r" ]; then pv="-r $3" fi svn cat $filename $pv > $TEMP