mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-27 10:51:22 +00:00
fix: reject unparsed Linux build arguments
This commit is contained in:
@@ -146,6 +146,12 @@ if [ ${OPTIND} -eq 1 ] ; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
shift $((OPTIND - 1))
|
||||||
|
if [ $# -ne 0 ] ; then
|
||||||
|
echo "Unknown argument '$1', aborting."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ -n "${CLEAN_DOCKER_IMAGE}" ]] && [[ -z "${USE_DOCKER}" ]] ; then
|
if [[ -n "${CLEAN_DOCKER_IMAGE}" ]] && [[ -z "${USE_DOCKER}" ]] ; then
|
||||||
echo "Error: -F requires -g."
|
echo "Error: -F requires -g."
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user