[packages/rpm] - assure order of files withing ar archive is preserved
baggins
baggins at pld-linux.org
Sun Jan 25 11:19:13 CET 2015
commit 2a9ea7046b4c4d50dc77194a1bb830664f34107e
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Jan 25 09:43:31 2015 +0000
- assure order of files withing ar archive is preserved
README.cpu-os-macros | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/README.cpu-os-macros b/README.cpu-os-macros
index 5adcecc..6acedd6 100644
--- a/README.cpu-os-macros
+++ b/README.cpu-os-macros
@@ -9,4 +9,5 @@ cd foo
ar x ../cpu-os-macros.a
<perform your changes>
cd -
-ar cDr cpu-os-macros.a foo/*macros
+# preserve order of files within the archive
+LC_ALL=C /bin/sh -c 'ar cDr cpu-os-macros.a foo/*macros'
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm.git/commitdiff/eb5300f2d1c5002e57b51de5924b9a21e615b8b3
More information about the pld-cvs-commit
mailing list