envvar-check

来自「Linux下文件工具。」· 代码 · 共 21 行

TXT
21
字号
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then  as_unset=unsetelse  as_unset=falsefi$as_unset VERSION_CONTROL SIMPLE_BACKUP_SUFFIXif test "${VERSION_CONTROL+set}" = set; then  echo "$0: the VERSION_CONTROL envvar is set --" \    ' unset it and rerun this test' >&2  exit 1fiif test "${SIMPLE_BACKUP_SUFFIX+set}" = set; then  echo "$0: the SIMPLE_BACKUP_SUFFIX envvar is set --" \    ' unset it and rerun this test' >&2    >&2  exit 1fi

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?