From 2fbe2e431175b680a7b00a17f84e35f924fcaf6d96afbca9f866025e8360654f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Tue, 15 May 2012 11:17:41 +0000 Subject: [PATCH] use .nil? instead of .blank?, thanks to darix for pointing it out OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=91 --- cmake-fix-ruby-test.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake-fix-ruby-test.patch b/cmake-fix-ruby-test.patch index 3ddf18d..8731ab9 100644 --- a/cmake-fix-ruby-test.patch +++ b/cmake-fix-ruby-test.patch @@ -7,7 +7,7 @@ Index: cmake-2.8.8/Modules/FindRuby.cmake # vendor_ruby available ? - EXECUTE_PROCESS(COMMAND ${RUBY_EXECUTABLE} -r vendor-specific -e "print 'true'" -+ EXECUTE_PROCESS(COMMAND ${RUBY_EXECUTABLE} -e "print 'true' unless Config::CONFIG['vendorarchdir'].blank?" ++ EXECUTE_PROCESS(COMMAND ${RUBY_EXECUTABLE} -e "print 'true' unless Config::CONFIG['vendorarchdir'].nil?" OUTPUT_VARIABLE RUBY_HAS_VENDOR_RUBY ERROR_QUIET) IF(RUBY_HAS_VENDOR_RUBY)