summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2006-05-24 10:37:20 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2006-05-24 10:37:20 (GMT)
commitb92c2d6429107265b7d7fdf1c0ad8fd2ad643764 (patch)
treeffd7394a588978d3f6222c1f341db7b7459b8bf1
parentf9f4215d9b2b137d2d047e88ceaf1d980019fa7e (diff)
downloadtcl-b92c2d6429107265b7d7fdf1c0ad8fd2ad643764.zip
tcl-b92c2d6429107265b7d7fdf1c0ad8fd2ad643764.tar.gz
tcl-b92c2d6429107265b7d7fdf1c0ad8fd2ad643764.tar.bz2
Fix [Bug 1494160]
-rw-r--r--ChangeLog5
-rw-r--r--unix/tcl.m42
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8d6a43c..f9117d9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-05-24 Donal K. Fellows <donal.k.fellows@manchester.ac.uk>
+
+ * unix/tcl.m4 (SC_CONFIG_SYSTEM): Fixed quoting of command script to
+ awk; it was a rarely used branch, but it was wrong. [Bug 1494160]
+
2006-05-23 Donal K. Fellows <donal.k.fellows@manchester.ac.uk>
* doc/chan.n, doc/refchan.n: Tighten up the documentation to follow a
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index f55be99..11197a9 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -949,7 +949,7 @@ AC_DEFUN([SC_CONFIG_SYSTEM], [
# results, and the version is kept in special file).
if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then
- tcl_cv_sys_version=MP-RAS-`awk '{print $3}' /etc/.relid`
+ tcl_cv_sys_version=MP-RAS-`awk '{print $[3]}' /etc/.relid`
fi
if test "`uname -s`" = "AIX" ; then
tcl_cv_sys_version=AIX-`uname -v`.`uname -r`