PR837: Fix copying to srcdir on a different physical device

Andrew Haley aph at redhat.com
Tue Dec 20 07:16:08 PST 2011


Fixed thusly.

Andrew.


2011-12-20  Andrew Haley  <aph at redhat.com>

	PR837:
	* Makefile.am (stamps/ports.stamp): Replace "cp -l" with
	"cp $(SRC_DIR_LINK)".

diff -r fd44d23e1368 -r 293b2d68ce5f Makefile.am
--- a/Makefile.am	Mon Dec 19 13:05:45 2011 -0500
+++ b/Makefile.am	Tue Dec 20 10:12:28 2011 -0500
@@ -1034,7 +1034,7 @@
 	for target in $(abs_top_srcdir)/arm_port/hotspot/tools \
 		      $(abs_top_srcdir)/arm_port/hotspot/src/*cpu/* ; do \
 	  link=$$(dirname $$target | sed 's/^.*arm_port/openjdk/'); \
-	  cp -rlv $$target $$link; \
+	  cp -rv $(SRC_DIR_LINK) $$target $$link; \
 	  chmod -R ug+rwX $$link; \
 	done
 	mkdir -p stamps




More information about the distro-pkg-dev mailing list