[packages/adapter: 340/631] - ignore errors from missing python binary
glen
glen at pld-linux.org
Mon Sep 12 20:02:57 CEST 2016
commit b7839d5bfc080d3285edad76a5cec4d9fef9dad3
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Sat Sep 16 11:27:37 2006 +0000
- ignore errors from missing python binary
Changed files:
adapter.awk -> 1.328
adapter.awk | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/adapter.awk b/adapter.awk
index 3155e86..e071dd9 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -82,9 +82,9 @@ BEGIN {
"rpm --eval %perl_vendorarch" | getline perl_vendorarch
"rpm --eval %perl_sitelib" | getline perl_sitelib
- "rpm --eval %py_sitescriptdir" | getline py_sitescriptdir
- "rpm --eval %py_sitedir" | getline py_sitedir
- "rpm --eval %py_scriptdir " | getline py_scriptdir
+ "rpm --eval %py_sitescriptdir 2>/dev/null" | getline py_sitescriptdir
+ "rpm --eval %py_sitedir 2>/dev/null" | getline py_sitedir
+ "rpm --eval %py_scriptdir 2>/dev/null" | getline py_scriptdir
"rpm --eval %ruby_archdir" | getline ruby_archdir
"rpm --eval %ruby_ridir" | getline ruby_ridir
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885
More information about the pld-cvs-commit
mailing list