Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/utils/embedded/conf Fix variable escaping in dev_exi...
details: https://anonhg.NetBSD.org/src/rev/e00d97503e31
branches: trunk
changeset: 837397:e00d97503e31
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sun Dec 02 15:43:04 2018 +0000
description:
Fix variable escaping in dev_exists()
diffstat:
distrib/utils/embedded/conf/evbarm.conf | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r ea40374d6111 -r e00d97503e31 distrib/utils/embedded/conf/evbarm.conf
--- a/distrib/utils/embedded/conf/evbarm.conf Sun Dec 02 13:17:19 2018 +0000
+++ b/distrib/utils/embedded/conf/evbarm.conf Sun Dec 02 15:43:04 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: evbarm.conf,v 1.31 2018/11/30 20:53:02 jmcneill Exp $
+# $NetBSD: evbarm.conf,v 1.32 2018/12/02 15:43:04 jmcneill Exp $
# evbarm shared config
#
image=$HOME/${board}.img
@@ -128,7 +128,7 @@
cp ${release}/etc/rc.conf ${mnt}/etc/rc.conf
cat >> ${mnt}/etc/rc.conf << EOF
dev_exists() {
- if /sbin/drvctl -l $1 >/dev/null 2>&1 ; then
+ if /sbin/drvctl -l \$1 >/dev/null 2>&1 ; then
printf YES
else
printf NO
Home |
Main Index |
Thread Index |
Old Index