Define printerr before require_dependency
This commit is contained in:
parent
2e4a192656
commit
9f8afa04d5
1 changed files with 4 additions and 4 deletions
|
@ -13,6 +13,10 @@ libexec=$(realpath "$(dirname "$0")")/../libexec/portzap
|
||||||
|
|
||||||
##
|
##
|
||||||
# functions
|
# functions
|
||||||
|
printerr() {
|
||||||
|
"${libexec}"/utils/printerr "$1"
|
||||||
|
}
|
||||||
|
|
||||||
require_dependency() {
|
require_dependency() {
|
||||||
deps=$1
|
deps=$1
|
||||||
for dep in $deps; do
|
for dep in $deps; do
|
||||||
|
@ -23,10 +27,6 @@ require_dependency() {
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
printerr() {
|
|
||||||
"${libexec}"/utils/printerr "$1"
|
|
||||||
}
|
|
||||||
|
|
||||||
##
|
##
|
||||||
# main
|
# main
|
||||||
i=1
|
i=1
|
||||||
|
|
Loading…
Reference in a new issue