path changed

This commit is contained in:
Jason2866 2020-09-10 16:41:31 +02:00 committed by GitHub
parent dd98969446
commit da4caa6ec1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ import shutil
OUTPUT_DIR = "build_output{}".format(os.path.sep) OUTPUT_DIR = "build_output{}".format(os.path.sep)
def bin_map_copy(source, target, env): def bin_map_copy(source, target, env):
variant = str(target[0]).split(os.path.sep)[1] variant = str(target[0]).split(os.path.sep)[2]
# check if output directories exist and create if necessary # check if output directories exist and create if necessary
if not os.path.isdir(OUTPUT_DIR): if not os.path.isdir(OUTPUT_DIR):