summaryrefslogtreecommitdiff
path: root/solenv/bin/install-gdb-printers
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-02-13 10:45:59 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-02-13 11:02:47 +0000
commitc3b59c3da7bf9e13a07620987aa85b633c7ec9c8 (patch)
tree2a0d64fcd74ec9035148fa3661858121407d8855 /solenv/bin/install-gdb-printers
parent3b4786b6b7eec79b29f604cffc1cd708244e90b3 (diff)
preserve timestamps for .py files
.pyc and .pyo binary caches contain the timestamp of the .py file, so for fedora multilib if the .py files get different times on different arch then the .py[o|c] files end up being different for the same content
Diffstat (limited to 'solenv/bin/install-gdb-printers')
-rwxr-xr-xsolenv/bin/install-gdb-printers2
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/bin/install-gdb-printers b/solenv/bin/install-gdb-printers
index 99686cf17702..df327a06ecdb 100755
--- a/solenv/bin/install-gdb-printers
+++ b/solenv/bin/install-gdb-printers
@@ -165,7 +165,7 @@ fi
if [[ ${DESTDIR}${pythondir} != ${GDBDIR} ]]; then
mkdir -p "${DESTDIR}${pythondir}" || die "cannot create dir '${DESTDIR}${pythondir}'"
- cp -r "${GDBDIR}/libreoffice" "${DESTDIR}${pythondir}"
+ cp -pr "${GDBDIR}/libreoffice" "${DESTDIR}${pythondir}"
fi
make_autoload cppu ure-link/lib libuno_cppu."$DYLIB".3