changeset 214:179683b0f54c

Fix gutentags_file_list_command for Windows.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 12 Jun 2018 21:49:47 -0700
parents 2c30656d5f3b
children 425157bdd024
files plat/win32/update_tags.cmd
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plat/win32/update_tags.cmd	Tue Jun 12 21:38:30 2018 -0700
+++ b/plat/win32/update_tags.cmd	Tue Jun 12 21:49:47 2018 -0700
@@ -106,7 +106,6 @@
     )
 )
 if ["%INDEX_WHOLE_PROJECT%"]==["1"] (
-    set CTAGS_ARGS=%CTAGS_ARGS% "%PROJECT_ROOT%"
     if not ["%FILE_LIST_CMD%"]==[""] (
         echo Running custom file lister >> %LOG_FILE%
         set use_raw_list=0
@@ -124,6 +123,8 @@
             for /F "usebackq delims=" %%F in (`%FILE_LIST_CMD%`) do @echo %PROJECT_ROOT%\%%F >> %TAGS_FILE%.files
         )
         set CTAGS_ARGS=%CTAGS_ARGS% -L %TAGS_FILE%.files
+    ) else (
+        set CTAGS_ARGS=%CTAGS_ARGS% "%PROJECT_ROOT%"
     )
 )