Replace check_bin() by required_commands in main
This commit is contained in:
parent
afff4a3560
commit
9abdfb89f9
1 changed files with 1 additions and 1 deletions
|
@ -351,7 +351,7 @@ esac
|
||||||
|
|
||||||
if [[ $* =~ ^https://.*\.git$ || $* =~ ^ssh://.*\.git$ ]]
|
if [[ $* =~ ^https://.*\.git$ || $* =~ ^ssh://.*\.git$ ]]
|
||||||
then
|
then
|
||||||
check_bin "git"
|
required_commands "git"
|
||||||
|
|
||||||
# Check
|
# Check
|
||||||
localrepo="${DOTREPO}/$(basename $* .git)"
|
localrepo="${DOTREPO}/$(basename $* .git)"
|
||||||
|
|
Reference in a new issue