Skip to content

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

@rainmote

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions