Mercurial > vim-gutentags
changeset 175:7c879d2e9b69
Use eval on file list command in unix tag updater
author | Theodore Dubois <tbodt@users.noreply.github.com> |
---|---|
date | Fri, 10 Mar 2017 17:06:20 -0800 |
parents | 2cf3fb66285b |
children | 3d7f2bf017fd |
files | plat/unix/update_tags.sh |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/plat/unix/update_tags.sh Tue Feb 21 12:36:45 2017 -0800 +++ b/plat/unix/update_tags.sh Fri Mar 10 17:06:20 2017 -0800 @@ -104,10 +104,10 @@ if [ $INDEX_WHOLE_PROJECT -eq 1 ]; then if [ -n "${FILE_LIST_CMD}" ]; then if [ "${PROJECT_ROOT}" = "." ] || [ $FILE_LIST_CMD_IS_ABSOLUTE -eq 1 ]; then - $FILE_LIST_CMD > "${TAGS_FILE}.files" + eval $FILE_LIST_CMD > "${TAGS_FILE}.files" else # If using a tags cache directory, use absolute paths - $FILE_LIST_CMD | while read -r l; do + eval $FILE_LIST_CMD | while read -r l; do echo "${PROJECT_ROOT%/}/${l}" done > "${TAGS_FILE}.files" fi