Skip to content

Commit

Permalink
Ports: Alphabetize commands in .port_include.sh
Browse files Browse the repository at this point in the history
Also remove a stray newline.
  • Loading branch information
gmta authored and awesomekling committed May 9, 2023
1 parent dd2ca56 commit 71671e0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Ports/.port_include.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ else
PORT_BUILD_DIR="${SERENITY_BUILD_DIR}/Ports/${port}"
fi


mkdir -p "${PORT_BUILD_DIR}"
cd "${PORT_BUILD_DIR}"

Expand Down Expand Up @@ -894,7 +893,7 @@ parse_arguments() {
return
fi
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
shift
do_${method} "$@"
Expand Down Expand Up @@ -924,7 +923,7 @@ parse_arguments() {
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
;;
esac
Expand Down

0 comments on commit 71671e0

Please sign in to comment.