Skip to content

update-tags.sh异常处理不完善 #120

Description

@rainmote

vimfiles/tools/shell/bash/update-tags.sh

我遇到[: =: unary operator expected错误

6 if [ ${CUSTOM} = true ]; then
7 echo " |- move custom ctags to ${TARGET}"
8 cp "${SOURCE}" "${TARGET}"
9 else

第6行,${CUSTOM}不存在,会报错退出。
if [[ ${CUSTOM} = true ]]; then

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions