1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 01:01:52 +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 ad05cadfeb
commit be3afdef9f

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