summaryrefslogtreecommitdiff
path: root/stage
diff options
context:
space:
mode:
Diffstat (limited to 'stage')
-rwxr-xr-xstage11
1 files changed, 11 insertions, 0 deletions
diff --git a/stage b/stage
index 55e801e..270d8fd 100755
--- a/stage
+++ b/stage
@@ -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.