1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-23 21:37:10 +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 73829d1ab1
commit 8e4e309704

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