From: Tilman Sauerbeck Date: Fri, 24 Aug 2007 18:05:53 +0000 (+0200) Subject: Use pkg-config to detect the edje data dir. X-Git-Url: http://git.code-monkey.de/?p=redact.git;a=commitdiff_plain;h=ce0230be820573e92bbd3b56e34d8e026e3e78ea Use pkg-config to detect the edje data dir. --- diff --git a/lib/redact/app.rb b/lib/redact/app.rb index 1d51bf7..30e6791 100644 --- a/lib/redact/app.rb +++ b/lib/redact/app.rb @@ -143,7 +143,7 @@ module Redact tf_in.flush Tempfile.open("redact_col#{col.id}.amx") do |tf_out| - incl = `edje-config --datadir`.strip + incl = `pkg-config edje --variable=datadir`.strip c = "embryo_cc " + "-i #{incl}/include " +