Enlightenment CVS committal

Author  : lordchaos
Project : e17
Module  : apps/evfs

Dir     : e17/apps/evfs/src/bin


Modified Files:
        evfs_main.c 


Log Message:
Plugin path fix

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/bin/evfs_main.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- evfs_main.c 15 Aug 2005 08:52:31 -0000      1.1
+++ evfs_main.c 15 Aug 2005 10:00:20 -0000      1.2
@@ -205,11 +205,12 @@
        evfs_plugin* plugin;
        char plugin_path[1024];
 
-        dir = opendir(PACKAGE_DATA_DIR "/plugins/file");
+       printf("Reading plugins from: %s\n", PACKAGE_PLUGIN_DIR 
"/plugins/file");
+        dir = opendir(PACKAGE_PLUGIN_DIR "/plugins/file");
         while ( (de = readdir(dir)) ) {
 
                if (!strncmp(de->d_name + strlen(de->d_name) -3, ".so", 3)) {
-                       snprintf(plugin_path, 1024,"%s/%s", PACKAGE_DATA_DIR 
"/plugins/file", de->d_name);
+                       snprintf(plugin_path, 1024,"%s/%s", PACKAGE_PLUGIN_DIR 
"/plugins/file", de->d_name);
                        if ( (plugin = evfs_load_plugin(plugin_path))) {
                                ecore_hash_set(server->plugin_uri_hash, 
plugin->uri, plugin);
                        }




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to