Apply patterns consistently
This commit is contained in:
parent
fca5d70228
commit
b02c61fd8c
5 changed files with 12 additions and 12 deletions
|
@ -5,8 +5,8 @@ set -e
|
|||
# variables
|
||||
localbase=${LOCALBASE:-$(realpath "$(dirname "$0")"/../../..)}
|
||||
libexec="${localbase}"/libexec/portzap
|
||||
gitdir="$1"
|
||||
branch="$2"
|
||||
gitdir=$1
|
||||
branch=$2
|
||||
|
||||
##
|
||||
# functions
|
||||
|
@ -16,11 +16,11 @@ gitexec()
|
|||
}
|
||||
|
||||
printok() {
|
||||
"${libexec}"/utils/printok "$1"
|
||||
"${libexec}"/utils/printok "${1}"
|
||||
}
|
||||
|
||||
printerr() {
|
||||
"${libexec}"/utils/printerr "$1"
|
||||
"${libexec}"/utils/printerr "${1}"
|
||||
}
|
||||
|
||||
##
|
||||
|
|
|
@ -17,11 +17,11 @@ gitexec()
|
|||
}
|
||||
|
||||
printok() {
|
||||
"${libexec}"/utils/printok "$1"
|
||||
"${libexec}"/utils/printok "${1}"
|
||||
}
|
||||
|
||||
printerr() {
|
||||
"${libexec}"/utils/printerr "$1"
|
||||
"${libexec}"/utils/printerr "${1}"
|
||||
}
|
||||
|
||||
##
|
||||
|
|
|
@ -55,15 +55,15 @@ perform_install()
|
|||
|
||||
run_install()
|
||||
{
|
||||
install -o root -g _portzap -m "${mode}" -v "$@"
|
||||
install -o root -g _portzap -m "${mode}" -v "${@}"
|
||||
}
|
||||
|
||||
printok() {
|
||||
"${libexec}"/utils/printok "$1"
|
||||
"${libexec}"/utils/printok "${1}"
|
||||
}
|
||||
|
||||
printerr() {
|
||||
"${libexec}"/utils/printerr "$1"
|
||||
"${libexec}"/utils/printerr "${1}"
|
||||
}
|
||||
|
||||
##
|
||||
|
|
|
@ -15,11 +15,11 @@ gitexec()
|
|||
}
|
||||
|
||||
printok() {
|
||||
"${libexec}"/utils/printok "$1"
|
||||
"${libexec}"/utils/printok "${1}"
|
||||
}
|
||||
|
||||
printerr() {
|
||||
"${libexec}"/utils/printerr "$1"
|
||||
"${libexec}"/utils/printerr "${1}"
|
||||
}
|
||||
|
||||
##
|
||||
|
|
|
@ -25,7 +25,7 @@ erase()
|
|||
}
|
||||
|
||||
printerr() {
|
||||
"${libexec}"/utils/printerr "$1"
|
||||
"${libexec}"/utils/printerr "${1}"
|
||||
}
|
||||
|
||||
##
|
||||
|
|
Loading…
Reference in a new issue