]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- assure order of files withing ar archive is preserved
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 25 Jan 2015 09:43:31 +0000 (09:43 +0000)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 25 Jan 2015 09:43:31 +0000 (09:43 +0000)
README.cpu-os-macros

index 5adcecc32ca0170760de542e4b4335c6a12bfad5..6acedd6e6ce58cee459f6ff8c87ab894fc14ec38 100644 (file)
@@ -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'
This page took 0.072282 seconds and 4 git commands to generate.