Module Name:    src
Committed By:   uwe
Date:           Wed Sep 18 22:27:55 UTC 2019

Modified Files:
        src/etc: security

Log Message:
Use $file instead of $(echo $file).  I don't think the extra round of
word expansions was really intended here.


To generate a diff of this commit:
cvs rdiff -u -r1.124 -r1.125 src/etc/security

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/etc/security
diff -u src/etc/security:1.124 src/etc/security:1.125
--- src/etc/security:1.124	Thu Oct  4 11:50:34 2018
+++ src/etc/security	Wed Sep 18 22:27:55 2019
@@ -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 checkyesno check_changelist ; then
 		*[\*\?\[]*)	# 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

Reply via email to