Skip to content

Commit

Permalink
Merge branch 'wsdl2h-detect' of https://github.com/olifre/voms into o…
Browse files Browse the repository at this point in the history
…lifre-wsdl2h-detect

* 'wsdl2h-detect' of https://github.com/olifre/voms:
  wsdl2h.m4: Fix detection of modern wsdl2h versions.
  Fixes for README.md
  • Loading branch information
andreaceccanti committed Sep 24, 2020
2 parents feeaed1 + c787dc6 commit 7c4ce59
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This repository hosts the VOMS server and C++ APIs.

## Documentation

See the [VOMS wiki](https://github.com/italiangrid/voms/wiki).
See the [VOMS website](https://italiangrid.github.io/voms).

# Support

Expand Down
9 changes: 7 additions & 2 deletions m4/wsdl2h.m4
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,13 @@ AC_DEFUN([AC_WSDL2H],
dnl
dnl @<:@ becomes [
dnl @:>@ becomes ]
wsdl2h_version=$($WSDL2H -help 2>&1 | grep -o '@<:@0-9@:>@\.@<:@0-9@:>@\.@<:@0-9@:>@*$')
dnl
dnl Newer versions support -V parameter.
wsdl2h_version=$($WSDL2H -V 2>/dev/null)
if test -z "$wsdl2h_version"; then
wsdl2h_version=$($WSDL2H -help 2>&1 | grep release | grep -o '@<:@0-9@:>@\.@<:@0-9@:>@\.@<:@0-9@:>@*$')
fi
normalized_version=$(printf "%02d%02d%02d" $(echo $wsdl2h_version | tr '.' ' '))
WSDL2H_FLAGS=""
Expand Down

0 comments on commit 7c4ce59

Please sign in to comment.