fix(ci): strip trailing slash from RPM_DIR to avoid double slashes
All checks were successful
poll-upstream / check (push) Successful in 1s

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-26 16:55:30 +03:00
parent e902729ba4
commit 6ffbde4c30

View File

@@ -1,7 +1,8 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -euo pipefail set -euo pipefail
RPM_DIR="${1:?usage: $0 <rpm-directory>}" RPM_DIR="${1%/}"
: "${RPM_DIR:?usage: $0 <rpm-directory>}"
: "${FEDORA_VERSION:?}" : "${FEDORA_VERSION:?}"
REMOTE_DIR="/var/www/rpm/fedora/${FEDORA_VERSION}/x86_64" REMOTE_DIR="/var/www/rpm/fedora/${FEDORA_VERSION}/x86_64"