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

Ports: Alphabetize commands in .port_include.sh

Also remove a stray newline.
This commit is contained in:
Jelle Raaijmakers 2023-05-09 01:13:41 +02:00 committed by Andreas Kling
parent dd2ca56ee4
commit 71671e0921

View file

@ -115,7 +115,6 @@ else
PORT_BUILD_DIR="${SERENITY_BUILD_DIR}/Ports/${port}" PORT_BUILD_DIR="${SERENITY_BUILD_DIR}/Ports/${port}"
fi fi
mkdir -p "${PORT_BUILD_DIR}" mkdir -p "${PORT_BUILD_DIR}"
cd "${PORT_BUILD_DIR}" cd "${PORT_BUILD_DIR}"
@ -894,7 +893,7 @@ parse_arguments() {
return return
fi fi
case "$1" in case "$1" in
fetch|patch|shell|configure|build|install|installdepends|clean|clean_dist|clean_all|uninstall|showproperty|generate_patch_readme) build|clean|clean_all|clean_dist|configure|fetch|generate_patch_readme|install|installdepends|patch|shell|showproperty|uninstall)
method=$1 method=$1
shift shift
do_${method} "$@" do_${method} "$@"
@ -924,7 +923,7 @@ parse_arguments() {
do_dev do_dev
;; ;;
*) *)
>&2 echo "I don't understand $1! Supported arguments: fetch, patch, configure, build, install, installdepends, interactive, clean, clean_dist, clean_all, uninstall, showproperty, generate_patch_readme, dev." >&2 echo "I don't understand $1! Supported arguments: build, clean, clean_all, clean_dist, configure, dev, fetch, generate_patch_readme, install, installdepends, interactive, patch, shell, showproperty, uninstall."
exit 1 exit 1
;; ;;
esac esac