delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/09/13/16:10:04

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: Christopher_Jones AT baynetworks DOT com (Christopher Jones)
To: "Cygwin (E-mail)" <cygwin AT sourceware DOT cygnus DOT com>
Subject: builtin functions missing
Date: Mon, 13 Sep 1999 16:04:57 -0400
Message-ID: <005601befe23$411cf5c0$effcf584@rtp-cbjones.corpeast.baynetworks.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
Importance: Normal
X-Mimeole: Produced By Microsoft MimeOLE V4.72.3110.3

The problem I have is that builtins like 'declare' seem to not exist if I
run a simple script as 'myscript.sh' from within bash, but do exist if I
instead run the script as 'bash myscript.sh'.  The script starts with a line
like "#!/bin/sh" and /bin is a symbolic link to the mounted drive/directory
of cygwin (mount in the DOS sense of the word),
/usr/cygnus/cygwin-b20/H-i586-cygwin32/bin/.

I'm hoping someone can point me to information on how to fix this.  I've not
seen anything concerning this in my searches through the archive and on the
web though that doesn't mean it isn't there.

Thanks,
Brian


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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