Date: Tue, 1 Jul 1997 16:49:24 +0300 (IDT) From: Eli Zaretskii To: Robert Hoehne 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.