Skip to content

Commit

Permalink
fix(fork): get better repo name
Browse files Browse the repository at this point in the history
  • Loading branch information
Mte90 committed Mar 14, 2022
1 parent ede3a6e commit ff4dee5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hooks/pre-fork.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ if [[ $url =~ $re ]]; then
hostname=${BASH_REMATCH[3]}
user=${BASH_REMATCH[4]}
repo=${BASH_REMATCH[5]}
repo=${repo/\.git/}

echo "$url download in progress"
$GIT clone "git@github.com:$user/$repo.git" &> /dev/null
Expand Down

0 comments on commit ff4dee5

Please sign in to comment.