mirror of
https://github.com/bpkg/bpkg
synced 2024-11-04 06:00:18 +00:00
fix install script
This commit is contained in:
parent
ab7d3b3cf6
commit
60e4392186
@ -17,7 +17,7 @@ ftest () {
|
||||
## feature tests
|
||||
features () {
|
||||
for f in "${@}"; do
|
||||
ftest "${f}" && {
|
||||
ftest "${f}" || {
|
||||
echo >&2 " error: Missing \`${f}'"
|
||||
return 1
|
||||
}
|
||||
@ -28,7 +28,7 @@ features () {
|
||||
## main setup
|
||||
setup () {
|
||||
## test for require features
|
||||
features git && return $?
|
||||
features git || return $?
|
||||
|
||||
## build
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user