pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/bulk remove "local" variable scope, it is not requi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/61d220287dff
branches:  trunk
changeset: 476274:61d220287dff
user:      grant <grant%pkgsrc.org@localhost>
date:      Sun Jun 06 01:30:31 2004 +0000

description:
remove "local" variable scope, it is not required and is NetBSD sh(1)
specific.

diffstat:

 mk/bulk/mksandbox |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 7c5d4db53a60 -r 61d220287dff mk/bulk/mksandbox
--- a/mk/bulk/mksandbox Sun Jun 06 01:12:52 2004 +0000
+++ b/mk/bulk/mksandbox Sun Jun 06 01:30:31 2004 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# $NetBSD: mksandbox,v 1.31 2004/02/13 23:53:13 grant Exp $
+# $NetBSD: mksandbox,v 1.32 2004/06/06 01:30:31 grant Exp $
 #
 #
 # Copyright (c) 2002 Alistair G. Crooks.  All rights reserved.
@@ -173,7 +173,7 @@
 sandbox=$sandbox
 
 r3() {
-       local _R=
+       _R=
        while [ \$# -ge 3 ]
        do
                _R="\$1 \$2 \$3 \$_R"



Home | Main Index | Thread Index | Old Index