aboutsummaryrefslogtreecommitdiffstats
path: root/goscb
diff options
context:
space:
mode:
Diffstat (limited to 'goscb')
-rwxr-xr-xgoscb7
1 files changed, 5 insertions, 2 deletions
diff --git a/goscb b/goscb
index 1c3e30e..d5a879c 100755
--- a/goscb
+++ b/goscb
@@ -1,5 +1,8 @@
#!/bin/sh
+set -eux
+REPOSITORY="standard"
+ARCH="x86_64"
osc build --cpio-bulk-download --download-api-only --keep-pkg=RPMS \
- --alternative-project openSUSE:Factory standard x86_64 "$@" \
- |& tee osc-build-log.txt
+ --alternative-project "$(cat .osc/_project)" ${REPOSITORY} ${ARCH} "$@" \
+ 2>&1 | tee osc-build-log.txt