[kde-linux/kde-linux-packages/buildstream] /: build: fix syntax

Harald Sitter <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit bbe5c71d63b304ee04ef5c29e7fd3409a54f35f2 by Harald Sitter.
Committed on 31/07/2026 at 21:19.
Pushed by sitter into branch 'buildstream'.

build: fix syntax

M  +1    -1    build.sh

https://invent.kde.org/kde-linux/kde-linux-packages/-/commit/bbe5c71d63b304ee04ef5c29e7fd3409a54f35f2

diff --git a/build.sh b/build.sh
index be93f0b..8006472 100755
--- a/build.sh
+++ b/build.sh
@@ -96,7 +96,7 @@ tar --directory=tree/install --create \
 
 if [ ! -f /.dockerenv ]; then
     S3_REMOTE="storage.kde.org/kde-linux-packages/$PUBLISH_DIR/"
-    if [[ "${CI_COMMIT_BRANCH:}" == work/* ]]; then
+    if [[ "${CI_COMMIT_BRANCH:-}" == work/* ]]; then
         S3_REMOTE="storage.kde.org/ci-artifacts/$CI_PROJECT_PATH/j/$CI_JOB_ID/$PUBLISH_DIR/"
     fi
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.