Skip to content

Commit

Permalink
Specify the oscrc file using --config instead of -c
Browse files Browse the repository at this point in the history
  • Loading branch information
deneb-alpha committed Jun 3, 2024
1 parent 2f45531 commit 8686fff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/push-packages-to-obs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ set -e
#
WORKSPACE=${WORKSPACE:-/tmp/push-packages-to-obs}
PACKAGE="$@"
OSCRC=${OSCRC:+-c $OSCRC}
OSCRC=${OSCRC:+--config $OSCRC}
OSCAPI=${OSCAPI:-https://api.suse.de}

OSC="osc ${OSCRC} -A ${OSCAPI}"
Expand All @@ -36,7 +36,7 @@ FAKE_COMITTOBS=${FAKE_COMITTOBS:+1}
KEEP_SRPMS=${KEEP_SRPMS:-FALSE}

DIFF="diff -u"

GIT_DIR=$(git rev-parse --show-cdup)
test -z "$GIT_DIR" || cd "$GIT_DIR"
GIT_DIR=$(pwd)
Expand Down Expand Up @@ -327,7 +327,7 @@ while read PKG_NAME; do
cd $OBS_TEST_PROJECT/$PKG_NAME/
$OSC rm *
cd -
cp -v * $OBS_TEST_PROJECT/$PKG_NAME
cp -v * $OBS_TEST_PROJECT/$PKG_NAME
cd $OBS_TEST_PROJECT/$PKG_NAME
$OSC add *
$OSC ci -m "Git submit $GIT_BRANCH($GIT_CURR_HEAD)"
Expand Down
1 change: 1 addition & 0 deletions uyuni-releng-tools.changes.deneb-alpha.fix_osc_config
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Specify the oscrc file using --config instead of -c

0 comments on commit 8686fff

Please sign in to comment.