Skip to content

Commit

Permalink
accept hyphen in host names.
Browse files Browse the repository at this point in the history
  • Loading branch information
takahiro-ino authored and thijskh committed Nov 15, 2024
1 parent 1b69449 commit a0bb2fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mellon_create_metadata.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ fi
HOST="$(echo "$BASEURL" | sed 's#^[a-z]*://\([^:/]*\).*#\1#')"
BASEURL="$(echo "$BASEURL" | sed 's#/$##')"

OUTFILE="$(echo "$ENTITYID" | sed 's/[^0-9A-Za-z.]/_/g' | sed 's/__*/_/g')"
OUTFILE="$(echo "$ENTITYID" | sed 's/[^0-9A-Za-z.-]/_/g' | sed 's/__*/_/g')"
echo "Output files:"
echo "Private key: $OUTFILE.key"
echo "Certificate: $OUTFILE.cert"
Expand Down

0 comments on commit a0bb2fd

Please sign in to comment.