diff --git a/sdk_lib/sdk_init_selfcontained.sh b/sdk_lib/sdk_init_selfcontained.sh index 2292a4698b..50499c04de 100755 --- a/sdk_lib/sdk_init_selfcontained.sh +++ b/sdk_lib/sdk_init_selfcontained.sh @@ -19,7 +19,7 @@ function clone_version() { local dest="$2" local version="$3" - git clone https://github.com/flatcar/$repo "$dest" + git clone "https://github.com/flatcar/$repo" "$dest" git -C "${dest}" fetch --all local tag=$(git -C "${dest}" tag -l | grep "${version}") git -C "${dest}" checkout "$tag"