Edit

IABSD.fr/ports/sysutils/ec2-api-tools/patches

Branch :

  • Show log

    Commit

  • Author : kurt
    Date : 2025-12-24 15:48:17
    Hash : 2777b036
    Message : Update to use jdk 11+ to run: * Use javaPathHelper to set default value for JAVA_HOME and remove requirement that this be pre-set in the environment. okay ajacoutot@ ian@

  • patch-bin_ec2-cmd
  • Use javaPathHelper for JAVA_HOME default value
    
    Index: bin/ec2-cmd
    --- bin/ec2-cmd.orig
    +++ bin/ec2-cmd
    @@ -15,7 +15,7 @@ __RPM_PREFIX__EC2_HOME=/usr/local/aes/cmdline
     LIBDIR="${EC2_HOME}/lib"
     
     # Check our Java env
    -JAVA_HOME=${JAVA_HOME:?JAVA_HOME is not set}
    +JAVA_HOME=$(javaPathHelper -h ec2-api-tools)
     
     # If a classpath exists preserve it
     CP="${CLASSPATH}"