# HG changeset patch # User Chayoung You # Date 1545382217 -32400 # Node ID b9babbd3c0fab598b5f85a9c2cdc04be6568de50 # Parent 93e66524d78ac608ec38a1def8e96c07cffbfa10 Surround double quotes for file containing spaces diff -r 93e66524d78a -r b9babbd3c0fa plat/win32/update_scopedb.cmd --- a/plat/win32/update_scopedb.cmd Mon Dec 17 19:45:03 2018 +0900 +++ b/plat/win32/update_scopedb.cmd Fri Dec 21 17:50:17 2018 +0900 @@ -60,7 +60,7 @@ echo Running cscope >> %LOG_FILE% if NOT ["%FILE_LIST_CMD%"]==[""] ( if ["%PROJECT_ROOT%"]==["."] ( - call %FILE_LIST_CMD% > %DB_FILE%.files + for /F "usebackq delims=" %%F in (`%FILE_LIST_CMD%`) do @echo "%%F">%DB_FILE%.files ) else ( rem Potentially useful: rem http://stackoverflow.com/questions/9749071/cmd-iterate-stdin-piped-from-another-command