This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fixes for sh vs. bin_sh + cleanup.
authorPerl 5 Porters <perl5-porters@africa.nicoh.com>
Thu, 29 Aug 1996 22:16:48 +0000 (22:16 +0000)
committerAndy Dougherty <doughera@lafcol.lafayette.edu>
Thu, 29 Aug 1996 22:16:48 +0000 (22:16 +0000)
hints/os2.sh

index 30bdfb2..f8df9d2 100644 (file)
 # 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'