Skip to content

Commit bb164ca

Browse files
authored
Fix update-deps.sh script (#55)
1 parent bfed9ec commit bb164ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/update-deps.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function update_submodule() {
3939
if [ "${version}" = "" ]; then
4040
fetch_submodule "main" || return $?
4141
else
42-
major_minor=${version:1} # Remove 'v' prefix
42+
major_minor="${version##v}" # Remove 'v' prefix
4343
# knobots might use a non existing version branch, in that case, fetch main branch
4444
fetch_submodule "release-${major_minor}" || fetch_submodule "main" || return $?
4545
fi

0 commit comments

Comments
 (0)