Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7165277

Fix missing execute permission issue running logger.sh

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 8
    • infrastructure
    • None
    • b36
    • generic
    • generic

      Files in the OpenJDK repositories cannot have execute permissions, so any shell scripts need to be run via the shell command:

      diff --git a/common/autoconf/configure b/common/autoconf/configure
      --- a/common/autoconf/configure
      +++ b/common/autoconf/configure
      @@ -10489,7 +10489,7 @@
       
       # Setup default logging of stdout and stderr to build.log in the output root.
       BUILD_LOG='$(OUTPUT_ROOT)/build.log'
      -BUILD_LOG_WRAPPER='$(SRC_ROOT)/common/bin/logger.sh $(BUILD_LOG)'
      +BUILD_LOG_WRAPPER='$(SH) $(SRC_ROOT)/common/bin/logger.sh $(BUILD_LOG)'
       
       
       
      diff --git a/common/autoconf/configure.ac b/common/autoconf/configure.ac
      --- a/common/autoconf/configure.ac
      +++ b/common/autoconf/configure.ac
      @@ -1004,7 +1004,7 @@
       
       # Setup default logging of stdout and stderr to build.log in the output root.
       BUILD_LOG='$(OUTPUT_ROOT)/build.log'
      -BUILD_LOG_WRAPPER='$(SRC_ROOT)/common/bin/logger.sh $(BUILD_LOG)'
      +BUILD_LOG_WRAPPER='$(SH) $(SRC_ROOT)/common/bin/logger.sh $(BUILD_LOG)'
       AC_SUBST(BUILD_LOG)
       AC_SUBST(BUILD_LOG_WRAPPER)

            ohair Kelly Ohair (Inactive)
            ohair Kelly Ohair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: