1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +03:00

Fix error in build script when library list is empty

This commit is contained in:
Ivan Grokhotkov 2016-03-11 15:44:51 +03:00
parent 54ae922037
commit 5cec3345ad

View File

@ -32,6 +32,7 @@ import shutil
def compile(tmp_dir, sketch, tools_dir, hardware_dir, ide_path, f, args):
cmd = ide_path + '/arduino-builder '
cmd += '-compile -logger=human '
if args.library_path:
for lib_dir in args.library_path:
cmd += '-libraries "' + lib_dir + '" '
cmd += '-build-path "' + tmp_dir + '" '