Source-Changes-HG archive

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

[src/trunk]: src/lib/libedit shame on solaris that is the last OS not support...



details:   https://anonhg.NetBSD.org/src/rev/b7758de500f9
branches:  trunk
changeset: 754069:b7758de500f9
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Apr 18 21:17:05 2010 +0000

description:
shame on solaris that is the last OS not supporting $()

diffstat:

 lib/libedit/makelist |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 269338b9c736 -r b7758de500f9 lib/libedit/makelist
--- a/lib/libedit/makelist      Sun Apr 18 19:42:51 2010 +0000
+++ b/lib/libedit/makelist      Sun Apr 18 21:17:05 2010 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh -
-#      $NetBSD: makelist,v 1.15 2010/04/15 00:57:33 christos Exp $
+#      $NetBSD: makelist,v 1.16 2010/04/18 21:17:05 christos Exp $
 #
 # Copyright (c) 1992, 1993
 #      The Regents of the University of California.  All rights reserved.
@@ -63,7 +63,7 @@
     
 -h)
     set - `echo $FILES | sed -e 's/\\./_/g'`
-    hdr="_h_$(basename $1)"
+    hdr="_h_`basename $1`"
     cat $FILES | $AWK '
        BEGIN {
            printf("/* Automatically generated file, do not edit */\n");



Home | Main Index | Thread Index | Old Index