Skip to content

Commit 5fdc4d7

Browse files
committed
rename missleading parameter name
We only need to distinguish between the products. We do not call "osc"
1 parent 22d275f commit 5fdc4d7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

push.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
# This script is called by push-packages-to-obs
88

9-
OSCAPI=$1
9+
PRODUCT=$1
1010
GIT_DIR=$2
1111
PKG_NAME=$3
1212

@@ -17,7 +17,7 @@ REMOTE_BRANCH=$(git for-each-ref --format='%(upstream:lstrip=-1)' $(git rev-pars
1717
COMMIT_ID=$(git rev-parse --short HEAD)
1818
popd
1919

20-
if [ "${OSCAPI}" == "https://api.suse.de" ]; then
20+
if [ "${PRODUCT}" == "MLM" -o "${PRODUCT}" == "https://api.suse.de" ]; then
2121
VERSION="HEAD"
2222
case ${REMOTE_BRANCH} in Manager-*)
2323
VERSION="${REMOTE_BRANCH#Manager-}"

0 commit comments

Comments
 (0)