prefer cp over mv, to reduce assumptions about file-system boundaries and GNU vs. non-GNU tools;
authorwenzelm
Tue, 28 Aug 2012 20:10:53 +0200
changeset 48988 f4d4d6d6702b
parent 48987 ffb4f2b9b1d3
child 48989 06c0e350782c
prefer cp over mv, to reduce assumptions about file-system boundaries and GNU vs. non-GNU tools;
Admin/lib/Tools/build_doc
--- a/Admin/lib/Tools/build_doc	Tue Aug 28 19:24:32 2012 +0200
+++ b/Admin/lib/Tools/build_doc	Tue Aug 28 20:10:53 2012 +0200
@@ -84,9 +84,9 @@
 if [ "$RC" = 0 ]; then
   for FILE in $(find "$OUTPUT" -name "*.eps" -o -name "*.ps")
   do
-    mv -f "$FILE" "$ISABELLE_HOME/doc"
+    cp -f "$FILE" "$ISABELLE_HOME/doc"
   done
-  mv -f "$OUTPUT"/*.dvi "$OUTPUT"/*.pdf "$ISABELLE_HOME/doc"
+  cp -f "$OUTPUT"/*.dvi "$OUTPUT"/*.pdf "$ISABELLE_HOME/doc"
 fi
 
 rm -rf "$OUTPUT"