mirror of
https://github.com/RGBCube/serenity
synced 2025-07-30 13:27:35 +00:00
Ports: Build ports only once when running build_all.sh
Previously we'd end up building some ports multiple times, e.g. as a dependency for another port. This changes the build_all.sh script so that it builds ports only once.
This commit is contained in:
parent
8a95408673
commit
4115fcc933
2 changed files with 25 additions and 2 deletions
|
@ -346,6 +346,9 @@ do_uninstall() {
|
|||
echo "Uninstalling $port!"
|
||||
uninstall
|
||||
}
|
||||
do_showdepends() {
|
||||
echo -n $depends
|
||||
}
|
||||
do_all() {
|
||||
do_installdepends
|
||||
do_fetch
|
||||
|
@ -361,7 +364,7 @@ parse_arguments() {
|
|||
do_all
|
||||
else
|
||||
case "$1" in
|
||||
fetch|patch|configure|build|install|installdepends|clean|clean_dist|clean_all|uninstall)
|
||||
fetch|patch|configure|build|install|installdepends|clean|clean_dist|clean_all|uninstall|showdepends)
|
||||
do_$1
|
||||
;;
|
||||
--auto)
|
||||
|
@ -373,7 +376,7 @@ parse_arguments() {
|
|||
parse_arguments $@
|
||||
;;
|
||||
*)
|
||||
>&2 echo "I don't understand $1! Supported arguments: fetch, patch, configure, build, install, installdepends, clean, clean_dist, clean_all, uninstall."
|
||||
>&2 echo "I don't understand $1! Supported arguments: fetch, patch, configure, build, install, installdepends, clean, clean_dist, clean_all, uninstall, showdepends."
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue