[m-dev.] diff: use cp -pr in bootcheck
    Peter Ross 
    petdr at cs.mu.OZ.AU
       
    Fri Jul  7 19:40:06 AEST 2000
    
    
  
Hi,
===================================================================
Estimated hours taken: 0.1
tools/bootcheck:
    Add the -p flag to cp. This preserves access times to files.
    This minimises the amount of rebuilding necessary when
    --no-sym-links is enabled.
Index: bootcheck
===================================================================
RCS file: /home/mercury1/repository/mercury/tools/bootcheck,v
retrieving revision 1.98
diff -u -r1.98 bootcheck
--- bootcheck	2000/06/23 08:30:10	1.98
+++ bootcheck	2000/07/07 09:38:06
@@ -243,8 +243,8 @@
 
 if $use_cp
 then
-	LN="cp -r"
-	LN_S="cp -r"
+	LN="cp -pr"
+	LN_S="cp -pr"
 else
 	LN="ln"
 	LN_S="ln -s"
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
    
    
More information about the developers
mailing list