Source-Changes-HG archive

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

[src/trunk]: src/etc too much quoting. pointed by anon ymous



details:   https://anonhg.NetBSD.org/src/rev/ec2a1f923d49
branches:  trunk
changeset: 762839:ec2a1f923d49
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Mar 02 17:00:28 2011 +0000

description:
too much quoting. pointed by anon ymous

diffstat:

 etc/security |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 6cd506f34523 -r ec2a1f923d49 etc/security
--- a/etc/security      Wed Mar 02 16:47:04 2011 +0000
+++ b/etc/security      Wed Mar 02 17:00:28 2011 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: security,v 1.109 2010/12/27 03:38:52 christos Exp $
+#      $NetBSD: security,v 1.110 2011/03/02 17:00:28 christos Exp $
 #      from: @(#)security      8.1 (Berkeley) 6/9/93
 #
 
@@ -408,8 +408,8 @@
                        unset PATH
                        /bin/sh << end-of-sh > /dev/null 2>&1
                                . $i
-                               list=\$\(echo \$PATH | /usr/bin/sed -e \
-                                   's/^:/.:/;s/:$/:./;s/::/:.:/g;s/:/ /g'\)
+                               list=\$(echo \$PATH | /usr/bin/sed -e \
+                                   's/^:/.:/;s/:$/:./;s/::/:.:/g;s/:/ /g')
                                /bin/ls -ldgT \$list > $TMP1
 end-of-sh
                        export PATH=$SAVE_PATH



Home | Main Index | Thread Index | Old Index