diff options
Diffstat (limited to 'src/2/ppt-mkpkgs')
-rw-r--r-- | src/2/ppt-mkpkgs | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/2/ppt-mkpkgs b/src/2/ppt-mkpkgs index 9adb138..4bd49b1 100644 --- a/src/2/ppt-mkpkgs +++ b/src/2/ppt-mkpkgs @@ -4,16 +4,6 @@ set -eu PLAT= -main() -{ - PLAT="$(sed '1{s/^config-\([^ ][^ ]*\) (.*$/\1/;};1!q;' changelog)" - - make_common_pkg - make_base_pkg - make_build_time_pkgs - make_run_time_pkgs -} - info() { local fmt="${1}" @@ -93,4 +83,14 @@ make_run_time_pkgs() done } +main() +{ + PLAT="$(sed '1{s/^config-\([^ ][^ ]*\) (.*$/\1/;};1!q;' changelog)" + + make_common_pkg + make_base_pkg + make_build_time_pkgs + make_run_time_pkgs +} + main "${@}" |