delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/01/09:54:04

Date: Tue, 1 Jul 1997 16:49:24 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Robert Hoehne <Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE>
cc: djgpp AT delorie DOT com
Subject: Re: Create DOS 32 bits exe on solaris/unix?
In-Reply-To: <33B8CE31.4255233C@Mathematik.TU-Chemnitz.DE>
Message-ID: <Pine.SUN.3.91.970701164500.25613B-100000@is>
MIME-Version: 1.0

On Tue, 1 Jul 1997, Robert Hoehne wrote:

> mkdir -p ${build_dir}
> tar -xzvf ${bnu_src}

These commands aren't portable to all Unix platforms.  Some older 
versions of Unix don't know about `mkdir -p', and the `z' modifier is 
only supported by GNU `tar'.  Of course, on Linux everything but the 
kernel is from GNU, but at least a comment in the shell script should 
mention potential portability problems.  A better way would be to replace 
`mkdir -p' by a shell loop that does the same (`mkinstalldirs' script in 
every GNU source distribution does that) and use "gzip -d -c | tar xvf -" 
pipe to unzip .tar.gz files.

- Raw text -


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