various fixes

This commit is contained in:
Stephan Raue 2009-07-20 00:19:09 +02:00
parent 69186d06c1
commit 29c0fe87a9

View File

@ -31,13 +31,14 @@ if [ -f $PKG_DIR/url ]; then
for i in `sed s%GEEXBOX_SRCS%$GEEXBOX_SRCS% $PKG_DIR/url`; do
NBWGET=1
until wget --passive-ftp -c $WGET_OPT -P $SOURCES/$1 $i; do
until [ -f $STAMPS_NOARCH/$1/`basename $i`.ok ] || wget --passive-ftp -c $WGET_OPT -P $SOURCES/$1 $i; do
NBWGET=$(($NBWGET+1))
if [ $NBWGET -gt 10 ]; then
echo -e "\nCant't get $1 sources : $i\n Try later !!"
exit 1
fi
done
touch $STAMPS_NOARCH/$1/`basename $i`.ok
done
cp -p $PKG_DIR/url $STAMP