MCPcopy Create free account
hub / github.com/Tencent/phxsql / CheckBasePath

Function CheckBasePath

tools/check_install.py:48–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46
47
48def CheckBasePath():
49 global lib_dir, sbin_dir
50 lib_dir=GetPath("PHXSQL_LIB_PATH")
51
52 if( not os.path.exists( lib_dir ) ):
53 os.mkdir( lib_dir )
54
55 sbin_dir=GetPath("PHXSQL_SBIN_PATH")
56
57 if( not os.path.exists( sbin_dir ) ):
58 os.mkdir( sbin_dir )
59
60 extlib_dir=GetPath("PHXSQL_EXTLIB_PATH")
61 if( not os.path.exists( extlib_dir ) ):
62 os.mkdir( extlib_dir )
63
64def Check3rdPath():
65 for lib in third_party_list:

Callers 1

check_install.pyFile · 0.85

Calls 1

GetPathFunction · 0.85

Tested by

no test coverage detected