antoine     2003/07/28 08:09:40

  Modified:    src/etc/testcases/taskdefs/exec spawn.sh
  Log:
  converted to UNIX format, there were some backslash rs checked in
  
  Revision  Changes    Path
  1.2       +15 -15    ant/src/etc/testcases/taskdefs/exec/spawn.sh
  
  Index: spawn.sh
  ===================================================================
  RCS file: /home/cvs/ant/src/etc/testcases/taskdefs/exec/spawn.sh,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- spawn.sh  28 Jul 2003 13:38:09 -0000      1.1
  +++ spawn.sh  28 Jul 2003 15:09:39 -0000      1.2
  @@ -1,15 +1,15 @@
  -sleeptime=10
  -logfile=spawn.log
  -if  [ $# -ge 1 ]; then
  -   sleeptime=$1
  -   echo $sleeptime
  -fi
  -if  [ $# -ge 2 ]; then
  -   logfile=$2
  -   echo $logfile
  -fi
  -echo hello
  -rm  $logfile
  -sleep $sleeptime
  -echo bye bye > $logfile
  -echo bye bye
  +sleeptime=10
  +logfile=spawn.log
  +if  [ $# -ge 1 ]; then
  +   sleeptime=$1
  +   echo $sleeptime
  +fi
  +if  [ $# -ge 2 ]; then
  +   logfile=$2
  +   echo $logfile
  +fi
  +echo hello
  +rm  $logfile
  +sleep $sleeptime
  +echo bye bye > $logfile
  +echo bye bye
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to