pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/bootstrap Fixed a typo in the bootstrap program. Now i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5bb5b85c84a3
branches:  trunk
changeset: 533947:5bb5b85c84a3
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Oct 09 01:10:19 2007 +0000

description:
Fixed a typo in the bootstrap program. Now it is possible to specify an
alternative fetch_cmd.

Patch provided by Pierre Bourgin in PR 37081.

diffstat:

 bootstrap/bootstrap |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 1f17360fac17 -r 5bb5b85c84a3 bootstrap/bootstrap
--- a/bootstrap/bootstrap       Mon Oct 08 20:38:17 2007 +0000
+++ b/bootstrap/bootstrap       Tue Oct 09 01:10:19 2007 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# $NetBSD: bootstrap,v 1.113 2007/09/29 15:50:16 rillig Exp $
+# $NetBSD: bootstrap,v 1.114 2007/10/09 01:10:19 rillig Exp $
 #
 #
 # Copyright (c) 2001-2002 Alistair G. Crooks.  All rights reserved.
@@ -307,7 +307,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