parent
ec6bcc1fba
commit
a73b0fd910
2
build
2
build
|
@ -25,7 +25,7 @@ main()
|
|||
|
||||
for g in "command -v git" "git config --global user.name" \
|
||||
"git config --global user.email" "git_init"; do
|
||||
eval "\"$g\" 1>/dev/null 2>/dev/null || $err \"FAILED: $g\""
|
||||
eval "$g 1>/dev/null 2>/dev/null || $err \"Unconfigured: $g\""
|
||||
done
|
||||
|
||||
case "${spath#script/}" in
|
||||
|
|
|
@ -40,7 +40,7 @@ setvars()
|
|||
chkvars()
|
||||
{
|
||||
for var in "$@"; do
|
||||
eval "[ -n \"\${$var+x}\" ] || \$err \"$var unset\""
|
||||
eval "[ -n "\${$var+x}" ] || \$err \"$var unset\""
|
||||
eval "[ -n \"\$$var\" ] || \$err \"$var unset\""
|
||||
done; return 0
|
||||
}
|
||||
|
|
|
@ -266,7 +266,7 @@ check_gnu_path()
|
|||
|
||||
gnu_setver()
|
||||
{
|
||||
eval "\"$2\" --version 1>/dev/null 2>/dev/null || return 1"
|
||||
eval "$2 --version 1>/dev/null 2>/dev/null || return 1"
|
||||
eval "$1ver=\"`"$2" --version 2>/dev/null | head -n1`\""
|
||||
eval "$1ver=\"\${$1ver##* }\""
|
||||
eval "$1full=\"\$$1ver\""
|
||||
|
|
Loading…
Reference in New Issue