diff options
author | jlam <jlam> | 2006-07-13 16:02:09 +0000 |
---|---|---|
committer | jlam <jlam> | 2006-07-13 16:02:09 +0000 |
commit | d819e04c1338e1aad9fb1d66b9e68730811ff122 (patch) | |
tree | 825828fce12aa50bf2620c019eb465cc133ee34f | |
parent | 15df77c05e2ab8a1904a4ee6ae24a48ae4dbb1d9 (diff) | |
download | pkgsrc-d819e04c1338e1aad9fb1d66b9e68730811ff122.tar.gz |
Fix some quoting errors and a harmless copy-and-paste error.
-rwxr-xr-x | mk/checksum/checksum | 8 |
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 ;; *) |