From: Perl 5 Porters Date: Thu, 29 Aug 1996 22:16:48 +0000 (+0000) Subject: Fixes for sh vs. bin_sh + cleanup. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=487a7f015b136c35583eb093393e72e2e288f682;p=p5sagit%2Fp5-mst-13.2.git Fixes for sh vs. bin_sh + cleanup. --- diff --git a/hints/os2.sh b/hints/os2.sh index 30bdfb2..f8df9d2 100644 --- a/hints/os2.sh +++ b/hints/os2.sh @@ -14,13 +14,12 @@ # Note that during the .obj compile you need to move the perl.dll file # to LIBPATH :-( -# Should be done automatically by Configure now: -bin_sh=`../UU/loc sh.exe /bin c:/bin d:/bin e:/bin f:/bin g:/bin h:/bin /bin` -echo "####### Shell found at $bin_sh #############" >&4 -sh="$bin_sh" -startsh="#!$bin_sh" +path_sep=\; + +if test -f $sh.exe; then sh=$sh.exe; fi + +startsh="#!$sh" -#osname="OS/2" sysman=`../UU/loc . /man/man1 c:/man/man1 c:/usr/man/man1 d:/man/man1 d:/usr/man/man1 e:/man/man1 e:/usr/man/man1 f:/man/man1 f:/usr/man/man1 g:/man/man1 g:/usr/man/man1 /usr/man/man1` cc='gcc' usrinc='/emx/include' @@ -107,10 +106,7 @@ fi libs='-lsocket -lm' archobjs="os2$obj_ext dl_os2$obj_ext" -# Run files without extension with sh - feature of patched ksh -# [???] -# NOHASHBANG=sh -# Same with newer ksh +# Run files without extension with sh: EXECSHELL=sh cccdlflags='-Zdll'