From 842a9651b9ead023bc079decfe3bce9f9257bee7 Mon Sep 17 00:00:00 2001 From: Thanos Doukoudakis Date: Fri, 5 Jan 2018 14:11:30 +0000 Subject: Fix the debian repository update script This will use the distro_version instead of the distro_name variable in the script. This fixes an error that was introduced in commit 2b185f0b25aede6e2f40a678647c78bb8e7f8638 Test-Information: None Change-Id: I943a680c49f70310ff525ee60f31b23641ccb2f5 diff --git a/Swift/Packaging/Debian/update_debian_repo.sh b/Swift/Packaging/Debian/update_debian_repo.sh index 26c0d5b..db9f326 100644 --- a/Swift/Packaging/Debian/update_debian_repo.sh +++ b/Swift/Packaging/Debian/update_debian_repo.sh @@ -85,8 +85,8 @@ for full_distribution_path in $INCOMING_FOLDER/{debian,ubuntu}/*; do distro_name=$(basename `dirname $full_distribution_path`) distro_reprepro_root=${APT_REPO_ROOT}/${distro_name}/${distro_version} - if ! [[ $SWIFT_PACKAGE_PLATFORMS == *"$distro_name"* ]]; then - echo "$distro_name was not found in SWIFT_PACKAGE_PLATFORMS. Skipping..." + if ! [[ $SWIFT_PACKAGE_PLATFORMS == *"$distro_version"* ]]; then + echo "$distro_version was not found in SWIFT_PACKAGE_PLATFORMS. Skipping..." continue fi -- cgit v0.10.2-6-g49f6