[java-idp-plugin-jetty] branch main updated: JJETTY-20 Additional errors in downloadjetty.sh

Rod Widdowson rdw at steadingsoftware.com
Sun Sep 7 12:38:58 UTC 2025


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch main
in repository java-idp-plugin-jetty.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-jetty.git;a=commit;h=5892e4b8f452b07aef59364b0b07572633b9ff07

The following commit(s) were added to refs/heads/main by this push:
     new 5892e4b  JJETTY-20 Additional errors in downloadjetty.sh
5892e4b is described below

commit 5892e4b8f452b07aef59364b0b07572633b9ff07
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Sun Sep 7 13:37:55 2025 +0100

    JJETTY-20 Additional errors in downloadjetty.sh
    
    https://shibboleth.atlassian.net/browse/JJETTY-20
    
    Add #!/usr/bin/env to top of file
    
    $LOCATION/runclass becomes $LOCATION/runclass.sh
    
    read /p becomes read -p
---
 .../main/resources/net/shibboleth/idp/module/jetty/downloadjetty.sh  | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/jetty-impl/src/main/resources/net/shibboleth/idp/module/jetty/downloadjetty.sh b/jetty-impl/src/main/resources/net/shibboleth/idp/module/jetty/downloadjetty.sh
index 93874e1..5df9279 100644
--- a/jetty-impl/src/main/resources/net/shibboleth/idp/module/jetty/downloadjetty.sh
+++ b/jetty-impl/src/main/resources/net/shibboleth/idp/module/jetty/downloadjetty.sh
@@ -1,3 +1,4 @@
+#!/usr/bin/env bash
 declare LOCATION
 declare CLASSPATH
 declare VERSION
@@ -18,8 +19,8 @@ fi
 
 VERSION=$1
 while [ -z $VERSION ] ; do
-    read /p "Jetty version to download: " VERSION
+    read -p "Jetty version to download: " VERSION
 done
 
-$LOCATION/runclass -Dnet.shibboleth.idp.cli.arguments=net.shibboleth.idp.plugin.jetty.cli.impl.JettyDownloadArugments net.shibboleth.idp.plugin.jetty.cli.impl.JettyDownloadCLI -v $VERSION
+$LOCATION/runclass.sh -Dnet.shibboleth.idp.cli.arguments=net.shibboleth.idp.plugin.jetty.cli.impl.JettyDownloadArugments net.shibboleth.idp.plugin.jetty.cli.impl.JettyDownloadCLI -v $VERSION
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list