new action: --list

pull/13/head
Volker Grabsch 17 years ago
parent 5d6a645166
commit ec3a36e01e

@ -23,6 +23,10 @@ set -ex
# <no action>
# same as '--download', followed by '--build'.
#
# --list
# list all supported packages and their versions to
# be built.
#
# --new-versions
# retrieve the new version numbers of all packages
# (modifies the script in-place, use with caution!)
@ -145,6 +149,12 @@ case "$1" in
$BASH "$0" --build
exit 0
;;
--list)
# transform all VERSION_xxx declaration lines of this script
set - -x
$SED -n 's,^VERSION_\([^=]*\)=\(.*\),\1 (\2),p' "$0"
exit 0
;;
--new-versions|--download|--build|--build-experimental)
# go ahead
;;

Loading…
Cancel
Save