加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
check_bindir 374 Bytes
一键复制 编辑 原始数据 按行查看 历史
Elia Pinto 提交于 2014-06-06 07:55 . check_bindir: avoid "test -a/-o "
#!/bin/sh
bindir="$1"
gitexecdir="$2"
gitcmd="$3"
if test "$bindir" != "$gitexecdir" && test -x "$gitcmd"
then
echo
echo "!! You have installed git-* commands to new gitexecdir."
echo "!! Old version git-* commands still remain in bindir."
echo "!! Mixing two versions of Git will lead to problems."
echo "!! Please remove old version commands in bindir now."
echo
fi
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化