We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
The text was updated successfully, but these errors were encountered:
我也遇到同样的问题,在我的ubuntu14的环境中,无论是使用dash还是bash,判断数组是否为空都不能用 if [ ${CUSTOM} = true ]的语法,我觉得用if [ ${CUSTOM} ]; then就行了。
Sorry, something went wrong.
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: