Browse Source

Fix errors when any of the variables have % in them

pull/26/head
Mathieu Longtin 1 year ago
committed by GitHub
parent
commit
5934c559f7
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      bin/git-vendor

+ 6
- 6
bin/git-vendor View File

@ -138,12 +138,12 @@ cmd_list()
if [ ! -z "$repository" ];
then
if [ -z "$showOnly" -o "$showOnly" = "$name" ]; then
printf "$name@$ref:\n"
printf "\tname:\t$name\n"
printf "\tdir:\t$dir\n"
printf "\trepo:\t$repository\n"
printf "\tref:\t$ref\n"
printf "\tcommit:\t$commit\n"
printf "%s@%s:\n" "$name" "$ref"
printf "\tname:\t%s\n" "$name"
printf "\tdir:\t%s\n" "$dir"
printf "\trepo:\t%s\n" "$repository"
printf "\tref:\t%s\n" "$ref"
printf "\tcommit:\t%s\n" "$commit"
printf "\n"
fi
fi


Loading…
Cancel
Save