delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/02/07/01:07:07

From: "Juan Manuel Guerrero" <ST001906 AT HRZ1 DOT HRZ DOT TU-Darmstadt DOT De>
Organization: Darmstadt University of Technology
To: djgpp-workers AT delorie DOT com
Date: Wed, 7 Feb 2001 07:05:56 +0200
MIME-Version: 1.0
Subject: Probably a bug in bash 2.04
X-mailer: Pegasus Mail for Windows (v2.54DE)
Message-ID: <145AEC0032A@HRZ1.hrz.tu-darmstadt.de>
Reply-To: djgpp-workers AT delorie DOT com

I am using bash 2.04. TMPDIR points to an existing directory.
I try to run the following script:
#! /bin/sh
./bar.sub

The script ./bar.sub is a **valid** shell script.
The above script works as it should work as long as
LFN are ***enabled***.
Once again: The above script works if LFN=y.
As soon as LFN is set to n (LFN=n), the above
script stops working. All this means that
bash seems to lose the capability to indentify
a shell script as soon as LFN support becomes disabled.
With LFN=n, there are two ways to get the *above* script working:
1)  bar.sub must be renamed to bar.sh
2)  ./bar.sub must be replaced by sh ./bar.sub

bash 2.03 does the job as it should be done.

Regards,
Guerrero, Juan M.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019