]> git.cworth.org Git - apitrace/blobdiff - common/trace_resource.cpp
Fix scripts absolute earch path (issue #76).
[apitrace] / common / trace_resource.cpp
index 206e6da157ae4eea74b50930675584265c071341..8b29cfb79373200dd658248303890b668132a62b 100644 (file)
@@ -69,7 +69,7 @@ findScript(const char *scriptFilename)
 
 #ifndef _WIN32
     // Try absolute install directory
-    scriptPath = APITRACE_WRAPPER_INSTALL_DIR;
+    scriptPath = APITRACE_LIB_INSTALL_DIR "/scripts";
     scriptPath.join(scriptFilename);
     if (scriptPath.exists()) {
         return scriptPath;