cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/11/04:02:33

Date: Wed, 11 Mar 1998 11:02:35 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "Jeff T. Williams" <jeffw AT darwin DOT sfbr DOT org>
cc: eldredge AT ap DOT net, djgpp AT delorie DOT com
Subject: Re: true and false in bash scripts
In-Reply-To: <199803101439.IAA13211@kendall.>
Message-ID: <Pine.SUN.3.91.980311110213.7344F-100000@is>
MIME-Version: 1.0

On Tue, 10 Mar 1998, Jeff T. Williams wrote:

> 	ln -s /djgpp/bin/bash.exe sh.exe
> 
> results in
> 
> C:/DJGPP/BIN/ln: cannot create symbolic link `sh.exe' to
> `/djgpp/bin/bash.exe': Improper link (EXDEV)
> 
> Is this a bug or a feature?

It's a limitation of the DJGPP simulation of symlinks: the space in
the stub that holds the name of the file to run is only enough for the
basename, not for a leading directory.

You should say this instead:

	   ln -s /djgpp/bin/bash.exe /djgpp/bin/sh.exe

or even this:

	   ln -s /djgpp/bin/bash /djgpp/bin/sh

- Raw text -


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