summaryrefslogtreecommitdiff
path: root/usr/src/tools/scripts/wx.sh
diff options
context:
space:
mode:
authorMark J. Nelson <Mark.J.Nelson@Sun.COM>2008-08-06 16:29:39 -0600
committerMark J. Nelson <Mark.J.Nelson@Sun.COM>2008-08-06 16:29:39 -0600
commit9a70fc3be3b1e966bf78825cdb8d509963a6f0a1 (patch)
tree37cd6d18c9cdf3a8d6012e657cd17a9783f5a182 /usr/src/tools/scripts/wx.sh
parent733c059aa6d54dc62d25850c71f71091e10d0aaa (diff)
downloadillumos-joyent-9a70fc3be3b1e966bf78825cdb8d509963a6f0a1.tar.gz
6733918 Teamware has retired, please welcome your new manager, Mercurial
4758439 some files use "current date" sccs keywords 6560843 asm sources should not rely on .file "%M%" for naming STT_FILE symbols 6560958 Solaris:: perl modules should not use SCCS keywords in version information 6729074 webrev doesn't deal well with remote ssh hg parents
Diffstat (limited to 'usr/src/tools/scripts/wx.sh')
-rw-r--r--usr/src/tools/scripts/wx.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/usr/src/tools/scripts/wx.sh b/usr/src/tools/scripts/wx.sh
index c713a125a0..b8c8b4a5a3 100644
--- a/usr/src/tools/scripts/wx.sh
+++ b/usr/src/tools/scripts/wx.sh
@@ -25,17 +25,18 @@
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "@(#)wx 1.12 98/11/09 SMI" (from bonwick)
-#ident "@(#)wxx 1.26 03/01/23 SMI" (from fiveash)
-#ident "%Z%%M% %I% %E% SMI"
-#
# wx -- workspace extensions. Jeff Bonwick, December 1992.
# The bugster cat/subcat = consolidation/os-net-tools
version() {
- echo "%Z%%M% %I% %E% SMI"
+ if [[ $(whence $0) = "/opt/onbld/bin/wx" ]] && \
+ pkginfo SUNWonbld > /dev/null 2>&1; then
+ pkginfo -l SUNWonbld | egrep "PKGINST:|VERSION:|PSTAMP:"
+ else
+ ls -l $(whence $0)
+ fi
}
ring_bell() {