commit 68e6cc1cd9cc0fdc4981a1f0f8b95622ec606304
parent 8aa7ece468c40d18e770d358f9f215e407db3d84
Author: Daniel Bainton <dpb@driftaway.org>
Date: Sun, 9 Mar 2014 20:47:23 +0000
Simplify fetch-pkg git check
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/stuff/fetch-pkg.mk b/stuff/fetch-pkg.mk
@@ -7,9 +7,7 @@ fetch-target:
pkg=`echo $target | sed -e 's,-fetch$,,'`
eval url=$url
if test "$url" = ""; then
- if test "$git" = ""; then
- echo $target: nothing to download
- else
+ if test "$git" != ""; then
[ -d $pkg ] || git clone $git $pkg
fi
else