4 Replies Latest reply on Dec 19, 2014 12:11 PM by Tomaz Cerar

    Windows installation scripts case sensitive

    Bradley Ross Newbie

      I was installing JBoss 7.1.1 on a Windows system and found that many of the batch scripts in the bin directory contain code of the form

       

      if "%RESOLVED_JBOSS_HOME%" NEQ "%SANITIZED_JBOSS_HOME%"

       

      The purpose of this code is to ensure that the directory containing the batch file is the bin subdirectory of the directory indicated by the environmental variable JBOSS_HOME.  Since Windows is a case insensitive system, the if statement should have a /I flag to indicate that the comparison is done on a case insensitive basis.

       

      if /I "%REOLVED_JBOSS_HOME%" NEQ "%SANITIZED_JBOSS_HOME%"

       

      I suspect that the same problem may occur on several of the distributions.  I'm not sure where this should be reported.  Any suggestions?