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/629969d8f27a
branches: trunk
changeset: 446363:629969d8f27a
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 bc1fff938577 -r 629969d8f27a 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