Skip to content
Snippets Groups Projects
Commit 03d246d4 authored by U-BASIS\dsmyda's avatar U-BASIS\dsmyda
Browse files

Fixed the setupDevRepos for cygwin

parent 4c0fc425
No related branches found
No related tags found
No related merge requests found
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
import os import os
import subprocess import subprocess
import ntpath
import sys import sys
...@@ -38,18 +39,18 @@ def main(): ...@@ -38,18 +39,18 @@ def main():
libvmdk_home = os.getenv("LIBVMDK_HOME") libvmdk_home = os.getenv("LIBVMDK_HOME")
base_Library_path = {} base_Library_path = {}
if(libewf_home != None): if(libewf_home != None):
base_Library_path["libewf_64bit"] = os.path.dirname(libewf_home) base_Library_path["libewf_64bit"] = ntpath.dirname(libewf_home)
else: else:
print('Please set the env variable LIBEWF_HOME') print('Please set the env variable LIBEWF_HOME')
sys.exit(1) sys.exit(1)
if(libvhdi_home != None): if(libvhdi_home != None):
base_Library_path["libvhdi_64bit"] = os.path.dirname(libvhdi_home) base_Library_path["libvhdi_64bit"] = ntpath.dirname(libvhdi_home)
else: else:
print('Please set the env variable LIBVHDI_HOME') print('Please set the env variable LIBVHDI_HOME')
sys.exit(1) sys.exit(1)
if(libvmdk_home != None): if(libvmdk_home != None):
base_Library_path["libvmdk_64bit"] = os.path.dirname(os.path.dirname(libvmdk_home)) base_Library_path["libvmdk_64bit"] = ntpath.dirname(ntpath.dirname(libvmdk_home))
else: else:
print('Please set the env variable LIBVMDK_HOME') print('Please set the env variable LIBVMDK_HOME')
sys.exit(1) sys.exit(1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment