Use pkg-config to detect the edje data dir.
authorTilman Sauerbeck <tilman@code-monkey.de>
Fri, 24 Aug 2007 18:05:53 +0000 (20:05 +0200)
committerTilman Sauerbeck <tilman@code-monkey.de>
Fri, 24 Aug 2007 18:05:53 +0000 (20:05 +0200)
lib/redact/app.rb

index 1d51bf74ae531f534c546f3ca250de5911290515..30e6791b9e8c1073eb550ffa195e1bf711bd11c6 100644 (file)
@@ -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 " +