1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:57:45 +00:00

Ports: Return early in parse_arguments() in .port_include.sh

This commit is contained in:
Jelle Raaijmakers 2021-10-20 00:14:40 +02:00 committed by Linus Groh
parent f8e46ec296
commit 7ff99cb516

View file

@ -525,7 +525,8 @@ NO_GPG=false
parse_arguments() { parse_arguments() {
if [ -z "${1:-}" ]; then if [ -z "${1:-}" ]; then
do_all do_all
else return
fi
case "$1" in case "$1" in
fetch|patch|shell|configure|build|install|installdepends|clean|clean_dist|clean_all|uninstall|showproperty) fetch|patch|shell|configure|build|install|installdepends|clean|clean_dist|clean_all|uninstall|showproperty)
method=$1 method=$1
@ -545,7 +546,6 @@ parse_arguments() {
exit 1 exit 1
;; ;;
esac esac
fi
} }
parse_arguments $@ parse_arguments $@