Changeset 9847 for trunk/tools
- Timestamp:
- Feb 24, 2003, 3:51:46 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/bin/buildenv.cmd
r9724 r9847 1 /* $Id: buildenv.cmd,v 1.4 5 2003-01-23 14:10:20bird Exp $1 /* $Id: buildenv.cmd,v 1.46 2003-02-24 14:51:46 bird Exp $ 2 2 * 3 3 * This is the master tools environment script. It contains environment … … 27 27 * Version 28 28 */ 29 sVersion = '1.0.1 6 [2003-01-23]';29 sVersion = '1.0.17 [2003-02-24]'; 30 30 31 31 /* … … 74 74 say ' shownotconfigured Show all tools which isn''t configured.' 75 75 say '' 76 say 'Copyright (c) 1999-200 2knut st. osmundsen'76 say 'Copyright (c) 1999-2003 knut st. osmundsen' 77 77 say 'Published under GPL v2' 78 78 return 8; … … 959 959 aPath.i.sPId = 'mscv7-16'; aPath.i.sPath = 'd:\dev\msc\v7.0'; i = i + 1; 960 960 aPath.i.sPId = 'mysql'; aPath.i.sPath = 'd:\apps\mysql\v3.23.50b1'; i = i + 1; 961 /*aPath.i.sPId = 'netqos2'; aPath.i.sPath = 'e:\netqos2'; i = i + 1; 962 aPath.i.sPId = 'perl'; aPath.i.sPath = ' e:\perllib';i = i + 1;963 961 /*aPath.i.sPId = 'netqos2'; aPath.i.sPath = 'e:\netqos2'; i = i + 1;*/ 962 aPath.i.sPId = 'perl'; aPath.i.sPath = 'd:\dev\perl\v5.00455'; i = i + 1; 963 /*aPath.i.sPId = 'python'; aPath.i.sPath = 'e:\python'; i = i + 1;*/ 964 964 aPath.i.sPId = 'toolkit40'; aPath.i.sPath = 'd:\dev\toolkit\v40csd1'; i = i + 1; 965 965 /*aPath.i.sPId = 'toolkit45'; aPath.i.sPath = 'e:\toolkit45'; i = i + 1; … … 2778 2778 return 0; 2779 2779 2780 /* 2781 * PERL 5005_53 2780 2781 /* 2782 * PERL 5005_53 or 5.004_55 2782 2783 */ 2783 2784 Perl: procedure expose aCfg. aPath. sPathFile … … 2787 2788 * Perl main directory. 2788 2789 */ 2789 /* BAD2790 sPathPerl = PathQuery('perl', sToolId, sOperation);2791 if (sPathPerl = '') then2792 return 1;2793 /* If config operation we're done now. */2794 if (pos('config', sOperation) > 0) then2795 return 0;2796 2797 /*2798 * Installing the environment variables.2799 */2800 sPathPerlForw = translate(sPathPerl, '/', '\');2801 call EnvSet fRM, 'PATH_PERL', sPathPerl;2802 call EnvAddFront fRM, 'path', sPathPerl'\bin;'2803 call EnvAddFront fRM, 'beginlibpath', sPathPerl'\dll;'2804 call EnvAddEnd fRM, 'bookshelf', sPathPerl'\book;'2805 call EnvSet fRM, 'perllib_prefix', sPathPerlForw'/lib;'sPathPerl'\lib'2806 call EnvSet fRM, 'perl5lib', sPathPerlForw'/lib/site_perl/5.00553/os2;'sPathPerlForw'/lib/site_perl/5.00553'2807 call EnvSet fRM, 'perl5load', '2'2808 call EnvSet fRM, 'perl_sh_dir', sPathPerlForw'/bin_sh/sh.exe'2809 call EnvSet fRM, 'manpath', sPathPerlForw'/man'2810 call EnvSet fRM, 'perl_badlang', '0'2811 /* call EnvSet fRM, 'LANG', 'en_US' /* dirty fix... */*/2812 */2813 /* seems ok */2814 2790 sPathPerl = PathQuery('perl', sToolId, sOperation); 2815 2791 if (sPathPerl = '') then … … 2838 2814 if (pos('verify', sOperation) <= 0) then 2839 2815 return 0; 2816 2817 sPerlDLL = 'perl.dll'; 2818 sVer = '5.004_55'; 2819 f5005_53 = FileExists(sPathPerl'\dll\perlE0AC.dll'); 2820 if (f5005_53) then 2821 do 2822 sPerlDLL = 'perlE0AC.dll'; 2823 sVer = '5.005_53'; 2824 end 2840 2825 if ( \CfgVerifyFile(sPathPerl'\bin\perl.exe', fQuiet), 2841 | \CfgVerifyFile(sPathPerl'\dll\ perlE0AC.dll', fQuiet),2826 | \CfgVerifyFile(sPathPerl'\dll\'||sPerlDLL, fQuiet), 2842 2827 ) then 2843 2828 return 2; 2844 rc = CheckCmdOutput('perl --version', 0, fQuiet, 'This is perl, version 5.005_53built for os2');2829 rc = CheckCmdOutput('perl --version', 0, fQuiet, 'This is perl, version '||sVer||' built for os2'); 2845 2830 return rc; 2846 2831
Note:
See TracChangeset
for help on using the changeset viewer.