Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/pkgviews]: src/usr.sbin/pkg_install/view Look at all of the arguments, o...
details: https://anonhg.NetBSD.org/src/rev/a6dc2d923699
branches: pkgviews
changeset: 534212:a6dc2d923699
user: jlam <jlam%NetBSD.org@localhost>
date: Sun Jul 13 12:25:46 2003 +0000
description:
Look at all of the arguments, or else "linkfarm -V" won't work properly.
diffstat:
usr.sbin/pkg_install/view/linkfarm.sh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r e91f649a95a3 -r a6dc2d923699 usr.sbin/pkg_install/view/linkfarm.sh
--- a/usr.sbin/pkg_install/view/linkfarm.sh Sun Jul 13 11:09:29 2003 +0000
+++ b/usr.sbin/pkg_install/view/linkfarm.sh Sun Jul 13 12:25:46 2003 +0000
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: linkfarm.sh,v 1.1.2.2 2003/07/13 11:09:29 jlam Exp $
+# $NetBSD: linkfarm.sh,v 1.1.2.3 2003/07/13 12:25:46 jlam Exp $
#
# Copyright (c) 2002 Alistair G. Crooks. All rights reserved.
@@ -69,7 +69,7 @@
create=yes
# process args - can't use getopt(1) because of '--' style args
-while [ $# -gt 1 ]; do
+while [ $# -gt 0 ]; do
case "$1" in
-D) delete=yes; create=no ;;
-R) delete=yes; create=yes ;;
Home |
Main Index |
Thread Index |
Old Index