mirror of git://git.2f30.org/morpheus.git
Simplify fetch-pkg git check
This commit is contained in:
parent
8aa7ece468
commit
68e6cc1cd9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue