From 5b7e18bbb3604e2680de9686601489083cf638aa Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 28 Jan 2014 17:33:42 -0500 Subject: bootstrap-prepare.sh: Improve conditional. --- diff --git a/bootstrap-prepare.sh b/bootstrap-prepare.sh index f095f56..c01638c 100755 --- a/bootstrap-prepare.sh +++ b/bootstrap-prepare.sh @@ -78,7 +78,7 @@ prepare_packages_from_git() continue fi log 'Preparing package %s...' "${repo##*/}" - if [ ! -d "${repo##*/}" ]; then + if [ ! -d "${repo##*/}/.git" ]; then git clone --depth 1 \ "git://git.proteanos.com/pkg/${repo}.git" fi -- cgit v0.9.1