tbad $variable names - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 4fc1f5f949d9a8f33b948c3339c798b6bad2270f
(DIR) parent 6dfd0c502aaccd9dd98cc1f5ee957d4a68ae73ec
(HTM) Author: rsc <devnull@localhost>
Date: Wed, 19 Jan 2005 16:45:27 +0000
bad $variable names
Diffstat:
M bin/9c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/bin/9c b/bin/9c
t@@ -40,14 +40,14 @@ case "$tag" in
u=`uname`
v=`uname -r`
s=`echo $u$v | tr '. ' '__'`
- cflags="$cflags -D__$s__"
+ cflags="$cflags -D__${s}__"
;;
*SunOS*-gcc) usegcc
u=`uname`
v=`uname -r`
s=`echo $u$v | tr '. ' '__'`
cflags="$ngflags -g"
- cflags="$cflags -D__$s__"
+ cflags="$cflags -D__${s}__"
;;
*)
echo 9c does not know how to compile on "$tag" 1>&2