Stop command -z not found complaint
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 17 Dec 2008 07:27:19 +0000 (07:27 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 17 Dec 2008 07:27:19 +0000 (07:27 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@727303 13f79535-47bb-0310-9956-ffa450edef68

bin/setclasspath.sh

index 73b390c..76d5204 100755 (executable)
@@ -96,7 +96,7 @@ if [ ! -x "$BASEDIR"/bin/setclasspath.sh ]; then
 fi
 
 # Don't override the endorsed dir if the user has set it previously
-if [-z "$JAVA_ENDORSED_DIRS"]; then
+if [ -z "$JAVA_ENDORSED_DIRS" ]; then
   # Set the default -Djava.endorsed.dirs argument
   JAVA_ENDORSED_DIRS="$BASEDIR"/endorsed
 fi