Code

Extensions. Fix for Bug #668895 (Extensions with <check> tags fail to load).
authorJazzyNico <nicoduf@yahoo.fr>
Mon, 31 Jan 2011 16:48:10 +0000 (17:48 +0100)
committerJazzyNico <nicoduf@yahoo.fr>
Mon, 31 Jan 2011 16:48:10 +0000 (17:48 +0100)
src/extension/implementation/script.cpp

index bc143fd14ece526f129b0c68576dc9d107e8081e..428ee626fd361f79342dc7624d67f192e62da165 100644 (file)
@@ -236,7 +236,7 @@ bool Script::check_existence(const std::string &command)
     }
 
     //Don't search when it is an absolute path. */
-    if (!Glib::path_is_absolute(command)) {
+    if (Glib::path_is_absolute(command)) {
         if (Glib::file_test(command, Glib::FILE_TEST_EXISTS)) {
             return true;
         } else {