From d2308957607ea52cf691d496a9a06748530d1dfd Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Mon, 8 Jul 2024 11:34:58 -0700 Subject: [PATCH] scripts/sync-pull: fix test for 'highest_combo' it's a string, not a number Signed-off-by: Dan Mick --- scripts/sync-pull | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/sync-pull b/scripts/sync-pull index f97242b4..dfc6dbdb 100755 --- a/scripts/sync-pull +++ b/scripts/sync-pull @@ -61,7 +61,7 @@ fi if [[ "$project" == "ceph" ]] ; then # Replace $highest_combo with your own DISTRO/VERSION if you don't want to sync from the repo with the most packages. - if [[ $highest_combo -gt 0 ]] ; then + if [[ -n "$highest_combo" ]] ; then deb_cmd="ubuntu@chacra.ceph.com:/opt/repos/$project/$release/$sha1/$highest_combo/flavors/default/* /opt/repos/$project/$relver/debian/jessie/" echo $deb_cmd echo "--------------------------------------------" -- 2.47.3