Skip to content

Commit

Permalink
Using grep -Fx to match the repo name (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yikun authored Nov 24, 2020
1 parent cf027c3 commit 45a8476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ function clone_repo
function create_repo
{
# Auto create non-existing repo
has_repo=`echo $DST_REPOS | grep -w $1 | wc -l`
has_repo=`echo $DST_REPOS | grep -Fx $1 | wc -l`
if [ $has_repo == 0 ]; then
echo "Create non-exist repo..."
if [[ "$DST_TYPE" == "github" ]]; then
Expand Down

0 comments on commit 45a8476

Please sign in to comment.