Unquote invocations in emake
This commit is contained in:
parent
35bd1c04db
commit
ae263ac282
15
ghcup
15
ghcup
@ -459,16 +459,17 @@ 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}" "$@"
|
# shellcheck disable=SC2086
|
||||||
|
edo ${MAKE} "$@"
|
||||||
else
|
else
|
||||||
if command_exists gmake ; then
|
if command_exists gmake ; then
|
||||||
# shellcheck disable=SC2209
|
MAKE="gmake"
|
||||||
MAKE=gmake
|
# shellcheck disable=SC2086
|
||||||
edo "${MAKE}" "$@"
|
edo ${MAKE} "$@"
|
||||||
else
|
else
|
||||||
# shellcheck disable=SC2209
|
MAKE="make"
|
||||||
MAKE=make
|
# shellcheck disable=SC2086
|
||||||
edo "${MAKE}" "$@"
|
edo ${MAKE} "$@"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user