Subversion Repositories DevTools

Rev

Rev 396 | Rev 2426 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 396 Rev 1270
Line 261... Line 261...
261
 
261
 
262
    #
262
    #
263
    #   Windows only
263
    #   Windows only
264
    #   Attempt to detect JATS no being run via the jats2_current link
264
    #   Attempt to detect JATS no being run via the jats2_current link
265
    #
265
    #
266
    unless  ( $GBE_UNIX || $GBE_JATS_SANE || $GBE_ABT || $GBE_CORE =~ m~core_devl/jats2_current~ ) {
266
    unless  ( $GBE_UNIX || $GBE_JATS_SANE || $GBE_ABT || $GBE_CORE =~ m~core_devl[/\\]jats2_current~ ) {
267
        @endWarnings =
267
        @endWarnings =
268
            ("***",
268
            ("***",
269
             "*** Jats is being invoked from a batch file that does not ",
269
             "*** Jats is being invoked from a batch file that does not ",
270
             "*** automatically track the latest version. Update jats.bat",
270
             "*** automatically track the latest version. Update jats.bat",
271
             "*** so that GBE_CORE references core_devl/jats2_current",
271
             "*** so that GBE_CORE references core_devl/jats2_current",
Line 809... Line 809...
809
#   Sanitize the EnvVars for Windows
809
#   Sanitize the EnvVars for Windows
810
#
810
#
811
#   It appears the %ENV is magical (in Win32)
811
#   It appears the %ENV is magical (in Win32)
812
#   The keys are case insensitive, even though the underlying env is not
812
#   The keys are case insensitive, even though the underlying env is not
813
#       Some of the Win32 binary tools used by JATS cannot handle lower
813
#       Some of the Win32 binary tools used by JATS cannot handle lower
814
#       case envVars. In particulare Path/PATH.
814
#       case envVars. In particular Path/PATH.
815
#       This will also fix some issues within MAKE
815
#       This will also fix some issues within MAKE
816
#
816
#
817
#   Force all EnvVars to be uppercase
817
#   Force all EnvVars to be uppercase
818
#       Need to delete the entry then reset it
818
#       Need to delete the entry then reset it
819
#
819
#
Line 823... Line 823...
823
    {
823
    {
824
        delete $ENV{$var};
824
        delete $ENV{$var};
825
        $ENV{$var} = $val;
825
        $ENV{$var} = $val;
826
    }
826
    }
827
}
827
}
-
 
828
 
-
 
829
#
-
 
830
#   Have a very strange issue with Solaris X86 and the buildtool
-
 
831
#   The GBE_MACHTYPE disappears from the environment
-
 
832
#   For some reason, deleting the PATH EnvVar and recreating it will fix it.
-
 
833
#
828
my $PATH = $ENV{'PATH'};
834
my $PATH = $ENV{'PATH'};
-
 
835
delete $ENV{'PATH'};
-
 
836
$ENV{'PATH'} = $PATH;
-
 
837
 
829
 
838
 
830
################################################################################
839
################################################################################
831
#   There is some really ugly interaction between Cygwin, ActiveState Perl 5.8.2
840
#   There is some really ugly interaction between Cygwin, ActiveState Perl 5.8.2
832
#   and xmake. Even if none of the cygwin bits are used within JATS the fact that
841
#   and xmake. Even if none of the cygwin bits are used within JATS the fact that
833
#   Cygwin is in the path causes problems.
842
#   Cygwin is in the path causes problems.