summaryrefslogtreecommitdiff
path: root/mk/checksum
diff options
context:
space:
mode:
authorjlam <jlam>2006-07-13 16:02:09 +0000
committerjlam <jlam>2006-07-13 16:02:09 +0000
commitd819e04c1338e1aad9fb1d66b9e68730811ff122 (patch)
tree825828fce12aa50bf2620c019eb465cc133ee34f /mk/checksum
parent15df77c05e2ab8a1904a4ee6ae24a48ae4dbb1d9 (diff)
downloadpkgsrc-d819e04c1338e1aad9fb1d66b9e68730811ff122.tar.gz
Fix some quoting errors and a harmless copy-and-paste error.
Diffstat (limited to 'mk/checksum')
-rwxr-xr-xmk/checksum/checksum8
1 files changed, 4 insertions, 4 deletions
diff --git a/mk/checksum/checksum b/mk/checksum/checksum
index bbfb57d0b3f..2e407d2c8e4 100755
--- a/mk/checksum/checksum
+++ b/mk/checksum/checksum
@@ -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 @@ if ${TEST} ! -f "$distinfo"; then
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
;;
*)