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 Forgot a few ; ; to end cases in...



details:   https://anonhg.NetBSD.org/src/rev/49f59f5e3d60
branches:  pkgviews
changeset: 534266:49f59f5e3d60
user:      jlam <jlam%NetBSD.org@localhost>
date:      Sun Aug 24 09:28:39 2003 +0000

description:
Forgot a few ;; to end cases in a shell case statement.

diffstat:

 usr.sbin/pkg_install/view/linkfarm.sh |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r a3e858fb2756 -r 49f59f5e3d60 usr.sbin/pkg_install/view/linkfarm.sh
--- a/usr.sbin/pkg_install/view/linkfarm.sh     Sun Aug 24 07:06:45 2003 +0000
+++ b/usr.sbin/pkg_install/view/linkfarm.sh     Sun Aug 24 09:28:39 2003 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# $NetBSD: linkfarm.sh,v 1.1.2.13 2003/08/24 07:06:45 jlam Exp $
+# $NetBSD: linkfarm.sh,v 1.1.2.14 2003/08/24 09:28:39 jlam Exp $
 
 #
 # Copyright (c) 2002 Alistair G. Crooks.  All rights reserved.
@@ -121,8 +121,8 @@
 
 # Set the directory from which we symlink.
 case $subdir in
-"")    fromdir=$stowdir/$package
-*)     fromdir=$stowdir/$package/$subdir
+"")    fromdir=$stowdir/$package ;;
+*)     fromdir=$stowdir/$package/$subdir ;;
 esac
 
 # Set the directory to which we symlink.



Home | Main Index | Thread Index | Old Index