Skip to content
Snippets Groups Projects
Commit d93b25cc authored by jacob's avatar jacob
Browse files

fix missing 'test'

parent 031e9285
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment