saving file under build dir

Signed-off-by: David Wertenteil <dwertent@armosec.io>
This commit is contained in:
David Wertenteil
2023-02-06 15:49:12 +02:00
parent 786f3e6b41
commit e1020dd1a6
+3 -3
View File
@@ -20,11 +20,11 @@ def check_status(status, msg):
def get_build_dir():
current_platform = platform.system()
# current_platform = platform.system()
if current_platform not in platformSuffixes: raise OSError("Platform %s is not supported!" % (current_platform))
# if current_platform not in platformSuffixes: raise OSError("Platform %s is not supported!" % (current_platform))
return os.path.join("build", platformSuffixes[current_platform])
return "build" # os.path.join("build", platformSuffixes[current_platform])
def get_package_name():