]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
script: fix a bug in naming the source branch in ceph-debug-docker.sh 42396/head
authorRonen Friedman <rfriedma@redhat.com>
Mon, 19 Jul 2021 09:57:33 +0000 (09:57 +0000)
committerRonen Friedman <rfriedma@redhat.com>
Mon, 19 Jul 2021 09:57:33 +0000 (09:57 +0000)
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/script/ceph-debug-docker.sh

index f73c23e71ff803a70470bc75011fed2236c7b0c1..836df860eee044ddad922aa6d1564e623e47605c 100755 (executable)
@@ -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"