mirror of
https://github.com/macports/mpbb.git
synced 2026-07-12 18:18:44 -07:00
mpbb: Remove --port from list-subports
The deployed Buildbot configuration doesn't actually use it. git-svn-id: https://svn.macports.org/repository/macports/contrib/mp-buildbot@152367 d073be05-634f-4543-b044-5fe20cf6d1d6
This commit is contained in:
+1
-5
@@ -73,7 +73,7 @@ list-subports() {
|
||||
# shellcheck disable=SC2154
|
||||
local log_subports_progress="${option_log_dir}/ports-progress.txt"
|
||||
|
||||
if [ $# -le 0 ] && [ -z "${option_port:-}" ]; then
|
||||
if [ $# -le 0 ]; then
|
||||
err "Must specify at least one port"
|
||||
return 1
|
||||
fi
|
||||
@@ -84,10 +84,6 @@ list-subports() {
|
||||
mkdir -p "$option_log_dir"
|
||||
> "$log_subports_progress"
|
||||
|
||||
if [ -n "${option_port}" ]; then
|
||||
print-subports "${option_port}" && success=1
|
||||
fi
|
||||
|
||||
for p in "$@"; do
|
||||
print-subports "$p" && success=1
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user