From d93b25ccbf92adc01975453e40f0bbe9d4d96ffc Mon Sep 17 00:00:00 2001
From: jacob <jacob>
Date: Fri, 6 May 2005 13:20:57 +0000
Subject: [PATCH] fix missing 'test'

---
 build/branch.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build/branch.sh b/build/branch.sh
index 023a3f192a..b64681ff13 100755
--- a/build/branch.sh
+++ b/build/branch.sh
@@ -31,7 +31,7 @@ case $child in
   *) child="b_$child"
 esac
 
-if test "$parent" != "HEAD" && test -f $dir/CVS/Tag && "`cat $dir/CVS/Tag`" != "T$parent"; then
+if test "$parent" != "HEAD" -a -f $dir/CVS/Tag -a "`cat $dir/CVS/Tag`" != "T$parent"; then
 	echo "This script must be run within the $parent branch"
 	exit 1
 fi
-- 
GitLab