Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/sys_info restore martin's change for tcsh versioning...



details:   https://anonhg.NetBSD.org/src/rev/ade68d7cc08e
branches:  trunk
changeset: 826215:ade68d7cc08e
user:      agc <agc%NetBSD.org@localhost>
date:      Mon Aug 21 19:36:57 2017 +0000

description:
restore martin's change for tcsh versioning which got lost in the last update

diffstat:

 usr.bin/sys_info/sys_info.sh |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 72efa3852fb0 -r ade68d7cc08e usr.bin/sys_info/sys_info.sh
--- a/usr.bin/sys_info/sys_info.sh      Mon Aug 21 19:22:31 2017 +0000
+++ b/usr.bin/sys_info/sys_info.sh      Mon Aug 21 19:36:57 2017 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# $NetBSD: sys_info.sh,v 1.5 2017/08/21 19:22:31 agc Exp $
+# $NetBSD: sys_info.sh,v 1.6 2017/08/21 19:36:57 agc Exp $
 
 # Copyright (c) 2016 Alistair Crooks <agc%NetBSD.org@localhost>
 # All rights reserved.
@@ -136,7 +136,7 @@
                ;;
        tcsh)
                if which_prog tcshpath tcsh; then
-                       ${tcshpath} -c 'echo $version' | awk '{ print $1 "-" $2 }'
+                       ${tcshpath} --version | awk '{ print $1 "-" $2 }'
                else
                        echo "tcsh: not found"
                fi



Home | Main Index | Thread Index | Old Index