[aur-general] makepkg patch for git at bitbucket.org urls
Myles English
mylesenglish at gmail.com
Fri May 3 19:21:07 EDT 2013
Dave Reisner writes:
> On May 3, 2013 5:17 PM, "Myles English" <mylesenglish at gmail.com> wrote:
>> diff --git a/makepkg b/makepkg
>> index 45a702e..310e5ef 100755
>> --- a/makepkg
>> +++ b/makepkg
>> @@ -269,6 +269,10 @@ get_protocol() {
>> # strip leading filename
>> local proto="${1##*::}"
>> printf "%s\n" "${proto%%://*}"
>> + elif [[ $1 = *@bitbucket* ]]; then
>> + # strip leading filename
>> + local proto="${1##*::}"
>> + printf "%s\n" "${proto%%@bitbucket*}"
>
> I really don't think special casing bitbucket is the right "solution" here.
> Just clone from a public repo.
Thanks, yes quite right.
Myles
More information about the aur-general
mailing list