pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/checksum Fix some quoting errors and a harmless cop...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/23635a996232
branches:  trunk
changeset: 516070:23635a996232
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Jul 13 16:02:09 2006 +0000

description:
Fix some quoting errors and a harmless copy-and-paste error.

diffstat:

 mk/checksum/checksum |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (25 lines):

diff -r d2f47526f0a1 -r 23635a996232 mk/checksum/checksum
--- a/mk/checksum/checksum      Thu Jul 13 15:48:07 2006 +0000
+++ b/mk/checksum/checksum      Thu Jul 13 16:02:09 2006 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: checksum,v 1.2 2006/07/13 15:48:07 jlam Exp $
+# $NetBSD: checksum,v 1.3 2006/07/13 16:02:09 jlam Exp $
 #
 # Copyright (c) 2006 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -91,10 +91,10 @@
 fi
 
 digestcmd=
-case ${DIGEST} in
+case "${DIGEST}" in
 /*)
-       if ${TEST} -x "$i/${DIGEST}"; then
-               digestcmd="$i/${DIGEST}"
+       if ${TEST} -x "${DIGEST}"; then
+               digestcmd="${DIGEST}"
        fi
        ;;
 *)



Home | Main Index | Thread Index | Old Index