Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc Use $file instead of $(echo $file). I don't think the e...
details: https://anonhg.NetBSD.org/src/rev/c4574993afad
branches: trunk
changeset: 965483:c4574993afad
user: uwe <uwe%NetBSD.org@localhost>
date: Wed Sep 18 22:27:55 2019 +0000
description:
Use $file instead of $(echo $file). I don't think the extra round of
word expansions was really intended here.
diffstat:
etc/security | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r f0ab1fbb3c89 -r c4574993afad etc/security
--- a/etc/security Wed Sep 18 20:18:27 2019 +0000
+++ b/etc/security Wed Sep 18 22:27:55 2019 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: security,v 1.124 2018/10/04 11:50:34 kre Exp $
+# $NetBSD: security,v 1.125 2019/09/18 22:27:55 uwe Exp $
# from: @(#)security 8.1 (Berkeley) 6/9/93
#
@@ -1033,12 +1033,12 @@
*[\*\?\[]*) # If changelist line is a glob ...
# ... expand possible backup files
#
- ls -1d $(echo $backup_dir/${file}.current) 2>/dev/null \
+ ls -1d $backup_dir/${file}.current 2>/dev/null \
| sed "s,^$backup_dir/,, ; s,\.current$,,"
# ... expand possible files
#
- ls -1d $(echo $file) 2>/dev/null
+ ls -1d $file 2>/dev/null
;;
*)
# Otherwise, just print the filename
Home |
Main Index |
Thread Index |
Old Index