summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. 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)
commit5b7e18bbb3604e2680de9686601489083cf638aa (patch)
treef6ff8b0b5602340273c46450a2b150c8f3176b8d
parent5d288b33228e825db8d825c8af7bbba12bb58081 (diff)
bootstrap-prepare.sh: Improve conditional.
-rwxr-xr-xbootstrap-prepare.sh2
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