File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ process() {
6767
6868 # -- Git sanity checks --
6969
70- repoSlug=$( xmllint --xpath ' //*[local-name()="project"]/*[local-name()="scm"]/*[local-name()="connection"]' pom.xml| sed ' s_.*github.com[:/]\(.*\)<.*_\1_' )
70+ repoSlug=$( xmllint --xpath ' //*[local-name()="project"]/*[local-name()="scm"]/*[local-name()="connection"]' pom.xml | sed ' s_.*github.com[:/]\(.*\)<.*_\1_' )
7171 test " $repoSlug " && info " Repository = $repoSlug " || die ' Could not determine GitHub repository slug'
7272 case " $repoSlug " in
7373 * .git)
@@ -88,7 +88,7 @@ process() {
8888
8989 # -- POM sanity checks --
9090
91- parent=$( xmllint --xpath ' //*[local-name()="project"]/*[local-name()="parent"]/*[local-name()="artifactId"]' pom.xml| sed ' s/[^>]*>//' | sed ' s/<.*//' )
91+ parent=$( xmllint --xpath ' //*[local-name()="project"]/*[local-name()="parent"]/*[local-name()="artifactId"]' pom.xml | sed ' s/[^>]*>//' | sed ' s/<.*//' )
9292 if [ -z " $SKIP_PARENT_CHECK " ]
9393 then
9494 test " $parent " = " pom-scijava" ||
220220 # Upgrade version of pom-scijava.
221221 if [ -z " $SKIP_PARENT_CHECK " ]
222222 then
223- version=$( xmllint --xpath ' //*[local-name()="project"]/*[local-name()="parent"]/*[local-name()="version"]' pom.xml| sed ' s/[^>]*>//' | sed ' s/<.*//' )
223+ version=$( xmllint --xpath ' //*[local-name()="project"]/*[local-name()="parent"]/*[local-name()="version"]' pom.xml | sed ' s/[^>]*>//' | sed ' s/<.*//' )
224224 # HACK: Using a lexicographic comparison here is imperfect.
225225 if [ " $version " \< " $pomMinVersion " ]
226226 then
You can’t perform that action at this time.
0 commit comments