[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cvs-buildpackage with fakeroot



On Sun, Aug 22, 1999 at 04:44:26PM +0200, joost witteveen wrote:
> The problem is that getopt doesn't seem to have an option to cause it
> to do what our `taste' wants it. 
> Does anyone have a simple way to make getopt act the way we want it?

Set the POSIXLY_CORRECT environment variable.  In other words, replace
the line
  TEMP=`getopt -l lib: -l faked: -- l: "$@"`
with the line
  TEMP=`POSIXLY_CORRECT=y getopt -l lib: -l faked: -- l: "$@"`

-- 
%%% Antti-Juhani Kaijanaho % gaia@iki.fi % http://www.iki.fi/gaia/ %%%

   "... memory leaks are quite acceptable in many applications ..."
    (Bjarne Stroustrup, The Design and Evolution of C++, page 220)


Reply to: