[m-dev.] for review: generate index files on web site
Fergus Henderson
fjh at cs.mu.OZ.AU
Tue Jun 27 02:58:24 AEST 2000
On 26-Jun-2000, David Glen JEFFERY <dgj at cs.mu.OZ.AU> wrote:
> +++ test_mercury 2000/06/26 08:25:09
> @@ -110,6 +110,7 @@
> BETA_FTPHOST=ftp.mercury.cs.mu.oz.au
> BETA_FTPDIR=/home/ftp/pub/mercury/beta-releases
> BETA_WEBDIR=/home/mercury5/installed_w3/download/files/beta-releases
> +BETA_WEBDIR_TOP=/home/mercury5/installed_w3/download/files/
Why the trailing slash?
> +# Now rebuild the index files on the www site
> +(
> +export PATH=`pwd`:$PATH
That is a bash-ism. For portability you should write that as
PATH=`pwd`:$PATH
export PATH
Also to avoid problems when PATH contains special characters, you should
use quotes:
PATH="`pwd`:$PATH"
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3 | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list