Re: [htdig3-dev] Re: Status & Moving files


Subject: Re: [htdig3-dev] Re: Status & Moving files
From: Torsten Neuer (tneuer@inwise.de)
Date: Wed Feb 02 2000 - 02:10:50 PST


Geoff Hutchison wrote:
>
> I was going to change "back" to the system call and just use "mv"
> instead of "/bin/mv" which will find it in the current environment's
> PATH. Does this still seem safe?

Try to get at the "mv" command through configure. AC_PATH_PROG should
do the trick. Also there should be a test (in second place, if the
test for mv fails) for a "move" command (I think this is what it is
called on M$).

IMHO, the same should be done with all external commands Ht://Dig relies
upon (like "sort").

So perhaps it is nice to have the following lines in configure.in:

AC_PATH_PROGS(CMD_MV,[mv move],mv)
AC_PATH_PROG(CMD_SORT,sort,sort)

cheers,

  Torsten

-- 
InWise - Wirtschaftlich-Wissenschaftlicher Internet Service GmbH
Waldhofstraße 14                            Tel: +49-4101-403605
D-25474 Ellerbek                            Fax: +49-4101-403606
E-Mail: info@inwise.de            Internet: http://www.inwise.de

------------------------------------ To unsubscribe from the htdig3-dev mailing list, send a message to htdig3-dev-unsubscribe@htdig.org You will receive a message to confirm this.



This archive was generated by hypermail 2b28 : Wed Feb 02 2000 - 02:13:19 PST