pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/37081: bootstrap/boostrap does not care of command line option "fectch-cmd"
>Number: 37081
>Category: pkg
>Synopsis: bootstrap/boostrap does not care of command line option
>"fectch-cmd"
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Oct 08 13:00:01 +0000 2007
>Originator: Pierre Bourgin
>Release: Linux: CentOS-4/i386
>Organization:
ARTERIS
>Environment:
Linux erix8 2.6.9-55.0.2.ELsmp #1 SMP Tue Jun 26 14:30:58 EDT 2007 i686 i686
i386 GNU/Linux
>Description:
bootstrap/bootstrap does not handle correctly command line option "--fetch-cmd
<ftp_cmd>" : it ignores it and build the tnftp utilitiy provided by pkgsrc
anyway.
>How-To-Repeat:
$ cd pkgsrc/bootstrap
$ ./bootstrap --fetch-cmd /usr/bin/ftp
[..]
[build and install tnftp anyway]
>Fix:
$ diff -u bootstrap/bootstrap.ORIG bootstrap/bootstrap
--- bootstrap/bootstrap.ORIG 2007-07-10 03:13:49.000000000 +0200
+++ bootstrap/bootstrap 2007-10-08 14:42:42.000000000 +0200
@@ -279,7 +279,7 @@
--varbase=*) varbase=`get_optarg "$1"` ;;
--varbase) varbase="$2"; shift ;;
--fetch-cmd=*) fetch_cmd=`get_optarg "$1"` ;;
- --fetch-cmd) fetch_cmd="$a"; shift ;;
+ --fetch-cmd) fetch_cmd="$2"; shift ;;
--compiler=*) compiler=`get_optarg "$1"` ;;
--compiler) compiler="$2"; shift ;;
--ignore-case-check) ignorecasecheck=yes ;;
Home |
Main Index |
Thread Index |
Old Index