1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-01-24 03:41:05 +02:00

wget should append to logfile, do not overwrite it

This commit is contained in:
Mirko Vogt 2010-05-02 23:29:39 +02:00
parent 60165955b3
commit 1c0e1e46e0

View File

@ -128,21 +128,21 @@ if [ "$PROTOCOL" == "http" ]; then
if [ "$B" == "TRUE" ]; then
log "fetching bootloader..."
wget \
-o "${LOG_FILE}" \
-a "${LOG_FILE}" \
-P "${WORKING_DIR}" \
"${BASE_URL_HTTP}/${VERSION}/${LOADER}"
fi
if [ "$K" == "TRUE" ]; then
log "fetching kernel..."
wget \
-o "${LOG_FILE}" \
-a "${LOG_FILE}" \
-P "${WORKING_DIR}" \
"${BASE_URL_HTTP}/${VERSION}/${KERNEL}"
fi
if [ "$R" == "TRUE" ]; then
log "fetching rootfs..."
wget \
-o "${LOG_FILE}" \
-a "${LOG_FILE}" \
-P "${WORKING_DIR}" \
"${BASE_URL_HTTP}/${VERSION}/${ROOTFS}"
fi