The wx script from SUNWonbld worked in nv_127 with ksh93, but
breaks in nv_128:
alanc at also:/export/alanc/XW_NV [11:07am - 4] wx list
/ws/onnv-tools/onbld/bin/wx: line 4128: syntax error at line 4147: `[]' empty
subscript
(This is an IPS installed machine so /bin/ksh == ksh93.)
The sections of code in question:
4128 wx_fullreview() {
4129 if wx_pnt_filepath; then
4130 :
4131 else
4132 parentfilepath=/dev/null
4133 fi
4134 if $show_comments && wx_show_comment > $wxdir/comment; then
4135 comm=-y"`cat $wxdir/comment`"
4136 codereview "$comm" $args $parentfilepath
$workspace/$filepath
4137 else
4138 codereview $args $parentfilepath $workspace/$filepath
4139 fi
4140 }
4141
4142 #
4143 # Check on RTI status for bug ID's found in active list comments.
4144 #
4145
4146 wx_rtichk() {
4147 typeset bugs[]
The full script can be seen at:
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/tools/scripts/wx.sh
(I know, the real long term fix is to get X off teamware and onto hg, and that's
planned soon, but not quite done yet.)
--
-Alan Coopersmith- alan.coopersmith at sun.com
Sun Microsystems, Inc. - X Window System Engineering