Fix typo in git source handling
Fixes #171 Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
138cbae584
commit
c3aa1bc123
@ -49,7 +49,7 @@ download_git() {
|
||||
|
||||
if [[ ! -d "$dir" ]] || dir_is_empty "$dir" ; then
|
||||
msg2 "$(gettext "Cloning %s %s repo...")" "${repo}" "git"
|
||||
if ! git clone --origin=origin ---mirror "$url" "$dir"; then
|
||||
if ! git clone --origin=origin --mirror "$url" "$dir"; then
|
||||
error "$(gettext "Failure while downloading %s %s repo")" "${repo}" "git"
|
||||
plainerr "$(gettext "Aborting...")"
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user