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:
parent
f3eb7978fd
commit
2a7be6d0d1
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue