1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-01-24 07:11: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 if [ "$B" == "TRUE" ]; then
log "fetching bootloader..." log "fetching bootloader..."
wget \ wget \
-o "${LOG_FILE}" \ -a "${LOG_FILE}" \
-P "${WORKING_DIR}" \ -P "${WORKING_DIR}" \
"${BASE_URL_HTTP}/${VERSION}/${LOADER}" "${BASE_URL_HTTP}/${VERSION}/${LOADER}"
fi fi
if [ "$K" == "TRUE" ]; then if [ "$K" == "TRUE" ]; then
log "fetching kernel..." log "fetching kernel..."
wget \ wget \
-o "${LOG_FILE}" \ -a "${LOG_FILE}" \
-P "${WORKING_DIR}" \ -P "${WORKING_DIR}" \
"${BASE_URL_HTTP}/${VERSION}/${KERNEL}" "${BASE_URL_HTTP}/${VERSION}/${KERNEL}"
fi fi
if [ "$R" == "TRUE" ]; then if [ "$R" == "TRUE" ]; then
log "fetching rootfs..." log "fetching rootfs..."
wget \ wget \
-o "${LOG_FILE}" \ -a "${LOG_FILE}" \
-P "${WORKING_DIR}" \ -P "${WORKING_DIR}" \
"${BASE_URL_HTTP}/${VERSION}/${ROOTFS}" "${BASE_URL_HTTP}/${VERSION}/${ROOTFS}"
fi fi