Skip to content

Commit 085e248

Browse files
committed
Added share/ngscopeclient as a search path
1 parent 8ca71dc commit 085e248

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scopehal/scopehal.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -662,6 +662,7 @@ void InitializeSearchPaths()
662662
if(binRootDir.size() > 0)
663663
{
664664
g_searchPaths.push_back(binRootDir + "/share/glscopeclient");
665+
g_searchPaths.push_back(binRootDir + "/share/ngscopeclient");
665666
g_searchPaths.push_back(binRootDir + "/share/scopehal");
666667
}
667668

@@ -671,12 +672,15 @@ void InitializeSearchPaths()
671672
g_searchPaths.push_back(home + "/.glscopeclient");
672673
g_searchPaths.push_back(home + "/.scopehal");
673674
g_searchPaths.push_back("/usr/local/share/glscopeclient");
675+
g_searchPaths.push_back("/usr/local/share/ngscopeclient");
674676
g_searchPaths.push_back("/usr/local/share/scopehal");
675677
g_searchPaths.push_back("/usr/share/glscopeclient");
678+
g_searchPaths.push_back("/usr/share/ngscopeclient");
676679
g_searchPaths.push_back("/usr/share/scopehal");
677680

678681
//for macports
679682
g_searchPaths.push_back("/opt/local/share/glscopeclient");
683+
g_searchPaths.push_back("/opt/local/share/ngscopeclient");
680684
g_searchPaths.push_back("/opt/local/share/scopehal");
681685
#endif
682686

0 commit comments

Comments
 (0)