[packages/adapter: 574/631] match deepest paths first

glen glen at pld-linux.org
Mon Sep 12 20:22:33 CEST 2016


commit 0c4f7f3b0305672d6dd70436b771d8ef1606c7b4
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Apr 4 00:00:12 2013 +0300

    match deepest paths first

 adapter.awk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/adapter.awk b/adapter.awk
index de99602..1fda580 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1100,12 +1100,12 @@ function use_macros()
 	gsub(ruby_archdir, "%{ruby_archdir}")
 	gsub(ruby_libdir, "%{ruby_libdir}")
 
-	gsub(ruby_sitedir, "%{ruby_sitedir}")
 	gsub(ruby_sitearchdir, "%{ruby_sitearchdir}")
 	gsub(ruby_sitelibdir, "%{ruby_sitelibdir}")
-	gsub(ruby_vendordir, "%{ruby_vendordir}")
+	gsub(ruby_sitedir, "%{ruby_sitedir}")
 	gsub(ruby_vendorarchdir, "%{ruby_vendorarchdir}")
 	gsub(ruby_vendorlibdir, "%{ruby_vendorlibdir}")
+	gsub(ruby_vendordir, "%{ruby_vendordir}")
 	gsub(ruby_rubylibdir, "%{ruby_rubylibdir}") # deprecated
 	gsub(ruby_rdocdir, "%{ruby_rdocdir}")
 	gsub(ruby_ridir, "%{ruby_ridir}")
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885



More information about the pld-cvs-commit mailing list