Fix typo in git source handling
Fixes #171
Signed-off-by: Allan McRae <allan@archlinux.org>
(cherry picked from commit c3aa1bc123
)
This commit is contained in:
parent
138cbae584
commit
7cf2b0186d
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ download_git() {
|
||||||
|
|
||||||
if [[ ! -d "$dir" ]] || dir_is_empty "$dir" ; then
|
if [[ ! -d "$dir" ]] || dir_is_empty "$dir" ; then
|
||||||
msg2 "$(gettext "Cloning %s %s repo...")" "${repo}" "git"
|
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"
|
error "$(gettext "Failure while downloading %s %s repo")" "${repo}" "git"
|
||||||
plainerr "$(gettext "Aborting...")"
|
plainerr "$(gettext "Aborting...")"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue