Fixed typo in string null check of project name. -z instead of -Z

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20756 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Hardy Ferentschik 2010-09-30 08:49:21 +00:00
parent f3eb7978fd
commit 2a7be6d0d1
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ if [ -z $devVersion ]; then
fi fi
projectName=`xmlstarlet sel -N x=http://maven.apache.org/POM/4.0.0 -t -v "/x:project/x:artifactId" pom.xml` projectName=`xmlstarlet sel -N x=http://maven.apache.org/POM/4.0.0 -t -v "/x:project/x:artifactId" pom.xml`
if [ -Z "$projectName" ]; then if [ -z "$projectName" ]; then
echo "Could not determine propject name (misasing/incomplete pom?)." echo "Could not determine propject name (misasing/incomplete pom?)."
exit; exit;
fi fi