You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by je...@apache.org on 2003/01/28 06:44:11 UTC
cvs commit: xml-forrest/src/resources/forrestbot/scripts refresh
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"
}