Simplify fetch-pkg git check

This commit is contained in:
Daniel Bainton 2014-03-09 20:47:23 +00:00
parent 8aa7ece468
commit 68e6cc1cd9

View File

@ -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