1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-22 16:43:08 +02:00

update nanonote daily build folder name and url

This commit is contained in:
Xiangfu Liu 2012-01-27 19:48:46 +08:00
parent 4829183d2b
commit c36a307041
2 changed files with 8 additions and 5 deletions

View File

@ -11,14 +11,15 @@ MAKE_VARS=" V=99 IGNORE_ERRORS=m "
########################################################################
DATE=$(date "+%Y-%m-%d")
TIME=$(date "+%H-%M-%S")
DATE_TIME=`date +"%m%d%Y-%H%M"`
DATE_TIME=`date +"%Y%m%d-%H%M"`
GET_FEEDS_VERSION_SH="/home/xiangfu/bin/get-feeds-revision.sh"
PATCH_OPENWRT_SH="/home/xiangfu/bin/patch-openwrt.sh"
IMAGES_DIR="/home/xiangfu/compile-log/${OPENWRT_DIR_NAME}-${DATE_TIME}/"
IMAGES_DIR="/home/xiangfu/building/Nanonote/Ben/${OPENWRT_DIR_NAME}-${DATE_TIME}/"
DEST_DIR="/home/xiangfu/build-nanonote"
mkdir -p ${IMAGES_DIR}
mkdir -p ${DEST_DIR}
BUILD_LOG="${IMAGES_DIR}/BUILD_LOG"
VERSIONS_FILE="${IMAGES_DIR}/VERSIONS"
@ -97,4 +98,6 @@ cp -a files/* ${IMAGES_DIR}/files/
bzip2 -z openwrt-xburst-qi_lb60-root.ubi; \
)
echo "DONE :)"
mv ${IMAGES_DIR} ${DEST_DIR}
echo "DONE!"

View File

@ -29,7 +29,7 @@ while getopts d:t:v:l:hbkr OPTIONS
do
case $OPTIONS in
d)
BASE_URL_HTTP="http://fidelio.qi-hardware.com/~xiangfu/compile-log/"
BASE_URL_HTTP="http://fidelio.qi-hardware.com/~xiangfu/build-nanonote/"
VERSION=$OPTARG # override version by first argument
WORKING_DIR=${VERSION}
;;