1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-28 22:33:20 +02:00

fix the wrong log.txt path, when using -l option

Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
This commit is contained in:
Xiangfu Liu 2010-11-24 15:59:27 +08:00
parent 7f4fd5b704
commit 0d377316d3

View File

@ -11,9 +11,6 @@ VERSION="latest"
# working directory
WORKING_DIR="${HOME}/.qi/nanonote/ben/${VERSION}"
# where the verbose output goes to
LOG_FILE="${WORKING_DIR}/log.txt"
# URL to images ($URL/$VERSION/$[images])
BASE_URL_HTTP="http://downloads.qi-hardware.com/software/images/NanoNote/Ben"
@ -63,6 +60,9 @@ Please report bugs to developer@lists.qi-hardware.com"
esac
done
# where the verbose output goes to
LOG_FILE="${WORKING_DIR}/log.txt"
# create working directory
mkdir -p ${WORKING_DIR}
# purge logfile if exists