Browse Source

Revert "Makefile: Always use ssh access to clone repository"

This reverts commit e0b7a0bf92.
pull/5/head
10sr 10 years ago
parent
commit
5505f01b4a
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      Makefile

+ 6
- 0
Makefile View File

@@ -7,8 +7,14 @@ home ?= $(HOME)

dotfiles_url_base := https://raw.githubusercontent.com/10sr/dotfiles/master
use_git ?= t
git_auth ?= t

ifneq (,$(git_auth))
dotfiles_git := git@github.com:10sr/dotfiles.git
else
$(warning 'git_auth' is empty. Use public read-only git repository.)
dotfiles_git := http://github.com/10sr/dotfiles.git
endif

current_origin_url := $(shell git config remote.origin.url)



Loading…
Cancel
Save