From de0b7d9437113a92673dc4bb76611cd2880fb0d6 Mon Sep 17 00:00:00 2001 From: Ronen Friedman Date: Mon, 19 Jul 2021 09:57:33 +0000 Subject: [PATCH] script: fix a bug in naming the source branch in ceph-debug-docker.sh Signed-off-by: Ronen Friedman --- src/script/ceph-debug-docker.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/script/ceph-debug-docker.sh b/src/script/ceph-debug-docker.sh index f73c23e71ff8..836df860eee0 100755 --- a/src/script/ceph-debug-docker.sh +++ b/src/script/ceph-debug-docker.sh @@ -46,9 +46,9 @@ function main { if [ -z "$1" ]; then printf "specify the branch [default \"master:latest\"]: " - read source - if [ -z "$source" ]; then - source=master:latest + read branch + if [ -z "$branch" ]; then + branch=master:latest fi else branch="$1" -- 2.47.3