--- MITgcm/verification/testreport 2012/08/23 02:01:27 1.179 +++ MITgcm/verification/testreport 2012/09/04 19:27:52 1.180 @@ -1,6 +1,6 @@ #! /usr/bin/env bash # -# $Header: /home/ubuntu/mnt/e9_copy/MITgcm/verification/testreport,v 1.179 2012/08/23 02:01:27 jmc Exp $ +# $Header: /home/ubuntu/mnt/e9_copy/MITgcm/verification/testreport,v 1.180 2012/09/04 19:27:52 jmc Exp $ # $Name: $ # @@ -1296,8 +1296,12 @@ # Create a uniquely named directory to store results CMDLINE=$0 for xx in "$@" ; do nw=`echo $xx | wc -w` - if test $nw = '1' ; then CMDLINE="$CMDLINE $xx" - else CMDLINE="$CMDLINE '$xx'" ; fi + if test $nw = '1' ; then CMDLINE="$CMDLINE $xx" ; else + nb=`echo $xx | grep -c '='` + if test $nb = 0 ; then CMDLINE="$CMDLINE '$xx'" + else yy=`echo "$xx'" | sed "s/=/='/"` ; + CMDLINE="$CMDLINE $yy" ; fi + fi done #for xx in "$@" ; do CMDLINE="$CMDLINE '$xx'" ; done MACH=`hostname`