pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/flavor/pkg Explicitly "" around $1, so that e.g. cs...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9c96a893461b
branches:  trunk
changeset: 539708:9c96a893461b
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Mar 11 17:44:03 2008 +0000

description:
Explicitly "" around $1, so that e.g. csh-like expansion of {} doesn't
happen.

diffstat:

 mk/flavor/pkg/resolve-dependencies |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 4b445f3d6ebe -r 9c96a893461b mk/flavor/pkg/resolve-dependencies
--- a/mk/flavor/pkg/resolve-dependencies        Tue Mar 11 17:20:05 2008 +0000
+++ b/mk/flavor/pkg/resolve-dependencies        Tue Mar 11 17:44:03 2008 +0000
@@ -30,7 +30,7 @@
 }
 
 find_best() {
-       ${PKG_INFO} -E $1 || ${TRUE}
+       ${PKG_INFO} -E "$1" || ${TRUE}
 }
 
 ${CAT} ${DEPENDS_FILE} | while read type pattern dir; do



Home | Main Index | Thread Index | Old Index