diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-11-14 13:03:42 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-11-14 13:03:42 +0200 |
commit | 53538bfb9bafcedeb2ebcbf8b8b4c36370a9ea1d (patch) | |
tree | 362dfc328d86e51cbd926ba597902a9d89d9ff8e | |
parent | b61b0eb5cc4db2e2929381f3db906a805c031802 (diff) |
Add -o option to stage script to only package baseutils/mingw
-rwxr-xr-x | stage | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -4,6 +4,8 @@ # # -b # Packages baseutils/mingw. +# -o +# Only package baseutils/mingw. # -q # Put packages into the queue instead of staging. # -p @@ -30,6 +32,7 @@ fi mode= base= +only= dist_src=staging/0 dist_dst=stage.build2.org:/var/www/stage.build2.org/public/0 @@ -39,6 +42,10 @@ while [ $# -gt 0 ]; do base=true shift ;; + -o) + only=true + shift + ;; -q) mode=-q dist_src=cppget.org/0 @@ -107,6 +114,10 @@ if [ -n "$base" ]; then mv "/tmp/build2-mingw-$v-x86_64-windows.tar.xz.sha256" "$dist_src/$v/" fi +if [ "$only" = true ]; then + exit 0 +fi + mkdir -p /tmp/dist # Dist build2-toolchain. |