cleanup: remove trailing spaces in prepare.sh

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2020-05-26 16:59:51 +02:00
parent 1cb2eef010
commit fe738e9d9f

View File

@ -1,5 +1,7 @@
#!/bin/bash
set -e -o pipefail
# In case no value is specified, default values will be used.
gitrepo="https://github.com/ceph/ceph-csi"
workdir="tip/"
@ -25,7 +27,7 @@ then
exit 1
fi
eval set -- ${opts}
eval set -- "${opts}"
while true; do
case "${1}" in
@ -52,7 +54,7 @@ while true; do
--ref)
shift
ref=${1}
echo ${ref}
echo "${ref}"
;;
--)
shift
@ -66,7 +68,7 @@ set -x
yum -y install git podman
git clone --depth=1 ${gitrepo} ${workdir}
cd ${workdir}
git clone --depth=1 "${gitrepo}" "${workdir}"
cd "${workdir}"
git fetch --depth=1 origin "${ref}:tip/${ref}"
git checkout "tip/${ref}"