diff options
author | P. J. McDermott <pjm@nac.net> | 2014-01-28 17:33:42 (EST) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2014-01-28 17:33:42 (EST) |
commit | 5b7e18bbb3604e2680de9686601489083cf638aa (patch) | |
tree | f6ff8b0b5602340273c46450a2b150c8f3176b8d | |
parent | 5d288b33228e825db8d825c8af7bbba12bb58081 (diff) |
bootstrap-prepare.sh: Improve conditional.
-rwxr-xr-x | bootstrap-prepare.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |