aboutsummaryrefslogtreecommitdiffstats
path: root/goscb
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2023-07-12 09:59:47 +0200
committerMatěj Cepl <mcepl@cepl.eu>2024-10-07 11:02:07 +0200
commit5367f35944f25ebf45922b6ab179548163ad12af (patch)
tree5825c5aca66e8cb66607de1cc91c1742be686b81 /goscb
parentbe5732d5b4187fcefbba04c514d9f6cd06eb0a13 (diff)
downloadgosc-5367f35944f25ebf45922b6ab179548163ad12af.tar.gz
Add goinit script.
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