Re: [Bashburn-info] I changed the Install.sh script.
Brought to you by:
bashburn
|
From: Nick W. <ni...@uk...> - 2008-09-15 08:39:00
|
On Mon, 15 Sep 2008 08:54:09 +0100 Nick Warne <ni...@uk...> wrote: > On Sun, 14 Sep 2008 21:44:01 -0400 (EDT) > "Steven W. Orr" <st...@sy...> wrote: > > > On Sunday, Sep 14th 2008 at 17:37 -0000, quoth Steven W. Orr: > > > > =>Usage: > > => Install.sh [ --prefix dir ] [ --uninstall ] [ --help ] > > => > > =>--prefix will allow the user to specify the prefix directory > > =>where BashBurn will be installed or uninstalled. > > =>The default is $defprefix. The support files will go > > =>into \$dir/lib/BashBurn/lib and the program(s) will be in > > \$dir/bin => > > =>I recommend removing the old stuff just to reduce clutter (and > > confusion). => > > =>You can use --prefix in conjunction with --uninstall if you put it > > in a =>non-default location. > > => > > =>Questions anyone? > > => > > =>BTW, this will be useful as we go forward WRT the localization > > stuff. > > > > Sorry, I just wasn't satisfied with it. Instead of some home-brew > > options parsing, I switched it to use getopt. So now we support both > > short and long options. Much more betterer. > > > > Usage: > > $0 [OPTIONS] > > > > -p, --prefix=dir > > -u, --uninstall > > -h, --help > > > > --prefix will allow the user to specify the prefix directory > > where BashBurn will be installed or uninstalled. > > The default is $defprefix. The support files will go > > into \$dir/lib/BashBurn/lib and the program(s) will be in \$dir/bin > > > > --uninstall will remove all of the BashBurn files from your system > > based on its knowledge of what prefix is. > > > > --help This message > > > > > > OK, I can't get this to work at all. If I use no options, it tries to > install in default location with no questions asked, and as I am not > root... > > Second, if I use -h or --help - error, too many options. > > Nick OK, I can get it to install, but specifying my home directory, I get this as installation path - which in not right, I feel: /home/nick/bashburn/lib/Bashburn/lib/ Nick -- Free Software Foundation Associate Member 5508 |