The following shell script behave incorrectly with the last bash
package. It correctly build the makefile but then instead of
exiting it continue to execute I wonder what.

NB : replacing #!/bin/sh to #!/usr/bin/ksh fix the problem so I'm pretty 
   sure it comes from bash.
NB2 : the old PPC bash package did not exibit this problem...

-------------------------------- Info on current install -------------------
bash --version
GNU bash, version 2.02.1(1)-release (powerpc-unknown-linux-gnu)
Copyright 1998 Free Software Foundation, Inc.
          -----------
dpkg -s bash 
Package: bash
Essential: yes
Status: install ok installed
Priority: required
Section: base
Installed-Size: 850
Maintainer: Guy Maor <[EMAIL PROTECTED]>
Version: 2.02.1-1.4
Pre-Depends: libc6 (>= 2.1), libncurses4 (>= 4.2-3.1), libreadlineg2 (>= 
2.1-13.1)
Conffiles:
 /etc/profile db431f071e29c47666be4117325e641d
 /etc/skel/.bash_profile 7fb37112e03e428ceb7755b36bd08a42
 /etc/skel/.bashrc 118f882acfaf472e6a352b1baaf5db87
Description: The GNU Bourne Again SHell
 Bash is an sh-compatible command language interpreter that executes
 commands read from the standard input or from a file.  Bash also
 incorporates useful features from the Korn and C shells (ksh and csh).
 .
 Bash is ultimately intended to be a conformant implementation of the
 IEEE Posix Shell and Tools specification (IEEE Working Group 1003.2).
       ------------------------
uname -a 
Linux ppc1target 2.2.3 #61 Fri Apr 2 14:43:15 CEST 1999 ppc unknown
      ----------------

---------------- Shell script -----------------------------
#!/bin/sh
...
echo imake -DUseInstalled -I$MERGEDIR/dtool/imake -DClassiXDir=$MERGEDIR \
        -DImakeDefines="-DClassiXDir=$MERGEDIR" -s $MAKEFILE
exec imake -DUseInstalled -I$MERGEDIR/dtool/imake -DClassiXDir=$MERGEDIR \
        -DImakeDefines="-DClassiXDir=$MERGEDIR" -s $MAKEFILE
----------------


-- 
   __                 
  /  `                          Eric Valette
 /--   __  o _.                 Canon CRF
(___, / (_(_(__                 Rue de la touche lambert
                                35517 Cesson-Sevigne  Cedex
                                FRANCE
Tel: +33 (0)2 99 87 68 91       Fax: +33 (0)2 99 84 11 30
E-mail: [EMAIL PROTECTED]

Reply via email to