summaryrefslogtreecommitdiff
path: root/eclass/dune.eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/dune.eclass')
-rw-r--r--eclass/dune.eclass12
1 files changed, 6 insertions, 6 deletions
diff --git a/eclass/dune.eclass b/eclass/dune.eclass
index ba54e87ceaf9..cfe81433a5bc 100644
--- a/eclass/dune.eclass
+++ b/eclass/dune.eclass
@@ -19,7 +19,7 @@ case ${EAPI} in
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac
-if [[ ! ${_DUNE_ECLASS} ]]; then
+if [[ -z ${_DUNE_ECLASS} ]]; then
_DUNE_ECLASS=1
# @ECLASS_VARIABLE: DUNE_PKG_NAME
@@ -55,7 +55,7 @@ BDEPEND="
# edune clean
# @CODE
edune() {
- debug-print-function ${FUNCNAME} "${@}"
+ debug-print-function ${FUNCNAME} "$@"
edo dune "${@}"
}
@@ -74,7 +74,7 @@ edune() {
# dune-release build --target @install menhir menhirLib menhirSdk
# @CODE
dune-release() {
- debug-print-function ${FUNCNAME} "${@}"
+ debug-print-function ${FUNCNAME} "$@"
local subcommand
local target
@@ -120,7 +120,7 @@ dune-release() {
# dune-compile menhir menhirLib menhirSdk
# @CODE
dune-compile() {
- debug-print-function ${FUNCNAME} "${@}"
+ debug-print-function ${FUNCNAME} "$@"
dune-release build --target @install "${@}"
}
@@ -135,7 +135,7 @@ dune-compile() {
# dune-test menhir menhirLib menhirSdk
# @CODE
dune-test() {
- debug-print-function ${FUNCNAME} "${@}"
+ debug-print-function ${FUNCNAME} "$@"
dune-release runtest "${@}"
}
@@ -159,7 +159,7 @@ dune_src_test() {
# dune-install menhir menhirLib menhirSdk
# @CODE
dune-install() {
- debug-print-function ${FUNCNAME} "${@}"
+ debug-print-function ${FUNCNAME} "$@"
local -a pkgs=( "${@}" )