From c5505620b6a0e69b2a95c9a0017ba6a8506c2b42 Mon Sep 17 00:00:00 2001 From: Ben Balter Date: Wed, 27 Dec 2017 20:14:58 -0500 Subject: [PATCH] script/git-repo should use GitHubProject --- script/git-repo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/git-repo b/script/git-repo index 88c175d..12142b7 100755 --- a/script/git-repo +++ b/script/git-repo @@ -8,10 +8,10 @@ name=$(basename $repo) dir="./tmp/$name" rm -Rf "$dir" -git clone --depth 1 --quiet "$repo" "$dir" -bundle exec bin/licensee "$dir" +bundle exec bin/licensee "$repo" if [ "$2" = "--license" ]; then + git clone --depth 1 --quiet "$repo" "$dir" license_path=$(bundle exec ./script/license-path $dir) cat $license_path | bundle exec script/diff $3 fi