3486cd6
From 18af7e03d81d295a47457486d3036681bd17eb81 Mon Sep 17 00:00:00 2001
3486cd6
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
3486cd6
Date: Mon, 13 Feb 2012 10:45:59 +0000
3486cd6
Subject: [PATCH] preserve timestamps for .py files
3486cd6
3486cd6
.pyc and .pyo binary caches contain the timestamp of the .py file, so for
3486cd6
fedora multilib if the .py files get different times on different arch then the
3486cd6
.py[o|c] files end up being different for the same content
3486cd6
---
3486cd6
 solenv/bin/install-gdb-printers |    2 +-
3486cd6
 1 files changed, 1 insertions(+), 1 deletions(-)
3486cd6
3486cd6
diff --git a/solenv/bin/install-gdb-printers b/solenv/bin/install-gdb-printers
3486cd6
index 99686cf..df327a0 100755
3486cd6
--- a/solenv/bin/install-gdb-printers
3486cd6
+++ b/solenv/bin/install-gdb-printers
3486cd6
@@ -165,7 +165,7 @@ fi
3486cd6
 
3486cd6
 if [[ ${DESTDIR}${pythondir} != ${GDBDIR} ]]; then
3486cd6
     mkdir -p "${DESTDIR}${pythondir}" || die "cannot create dir '${DESTDIR}${pythondir}'"
3486cd6
-    cp -r "${GDBDIR}/libreoffice" "${DESTDIR}${pythondir}"
3486cd6
+    cp -pr "${GDBDIR}/libreoffice" "${DESTDIR}${pythondir}"
3486cd6
 fi
3486cd6
 
3486cd6
 make_autoload cppu ure-link/lib libuno_cppu."$DYLIB".3
3486cd6
-- 
3486cd6
1.7.7.6
3486cd6