forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject cvs commit: xml-forrest/src/resources/forrestbot/scripts refresh
Date Tue, 28 Jan 2003 05:44:11 GMT
jefft       2003/01/27 21:44:11

  Modified:    src/resources/forrestbot/scripts refresh
  Log:
  Avoid errors when copying weirdly named files
  
  Revision  Changes    Path
  1.5       +2 -2      xml-forrest/src/resources/forrestbot/scripts/refresh
  
  Index: refresh
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/forrestbot/scripts/refresh,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- refresh	19 Jan 2003 09:28:18 -0000	1.4
  +++ refresh	28 Jan 2003 05:44:10 -0000	1.5
  @@ -98,8 +98,8 @@
   {
   	mkdir -p $LOGS/old
   	for i in $WORK/build/bot/work*.log; do
  -		cp $i $LOGS
  -		cp $i $LOGS/old/`basename $i`-$TSTAMP
  +		cp "$i" $LOGS
  +		cp "$i" $LOGS/old/`basename $i`-$TSTAMP
   	done
   	echo "Copied logs"
   }
  
  
  

Mime
View raw message