Skip to content
Snippets Groups Projects
Commit 45d93921 authored by George Wilson's avatar George Wilson
Browse files

Make shellcheck happy

parent 398d8d7a
No related branches found
No related tags found
1 merge request!70Add FreeBSD download URLs
...@@ -459,14 +459,16 @@ edo() ...@@ -459,14 +459,16 @@ edo()
# Wrapper around 'make', may call 'gmake' if it exists. # Wrapper around 'make', may call 'gmake' if it exists.
emake() { # avoid re-checking for gmake emake() { # avoid re-checking for gmake
if [ -n "${MAKE}" ] ; then if [ -n "${MAKE}" ] ; then
edo ${MAKE} "$@" edo "${MAKE}" "$@"
else else
if command_exists gmake ; then if command_exists gmake ; then
# shellcheck disable=SC2209
MAKE=gmake MAKE=gmake
edo ${MAKE} "$@" edo "${MAKE}" "$@"
else else
# shellcheck disable=SC2209
MAKE=make MAKE=make
edo ${MAKE} "$@" edo "${MAKE}" "$@"
fi fi
fi fi
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment