Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/common Copy with -f.



details:   https://anonhg.NetBSD.org/src/rev/ad0ac61fdbcd
branches:  trunk
changeset: 345984:ad0ac61fdbcd
user:      isaki <isaki%NetBSD.org@localhost>
date:      Sun Jun 19 08:44:34 2016 +0000

description:
Copy with -f.
On x68k, CDEXTRA has /usr/mdec/boot and its permission is 444.
So this copy was failed from second time.

diffstat:

 distrib/common/Makefile.bootcd |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 0277fea987c7 -r ad0ac61fdbcd distrib/common/Makefile.bootcd
--- a/distrib/common/Makefile.bootcd    Sun Jun 19 07:38:08 2016 +0000
+++ b/distrib/common/Makefile.bootcd    Sun Jun 19 08:44:34 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.bootcd,v 1.34 2015/12/20 22:42:04 christos Exp $
+#      $NetBSD: Makefile.bootcd,v 1.35 2016/06/19 08:44:34 isaki Exp $
 #
 # Makefile snipped to create a CD/DVD ISO
 #
@@ -230,7 +230,7 @@
                        release_destdir="${CUROBJDIR}/cdrom";           \
                        if [ -f $${cde} ]; then                         \
                                echo Copying $${cde} to $$release_destdir ...;  \
-                               ${CP} $${cde} $${release_destdir};      \
+                               ${CP} -f $${cde} $${release_destdir};   \
                        elif [ -d $${cde} ]; then                       \
                                cd $${cde};                             \
                                echo Copying $$(pwd) to $$release_destdir ...;  \



Home | Main Index | Thread Index | Old Index