diff --git a/data/qi_lb60/scripts/reflash_ben.sh b/data/qi_lb60/scripts/reflash_ben.sh index 727605aa5..034318d54 100755 --- a/data/qi_lb60/scripts/reflash_ben.sh +++ b/data/qi_lb60/scripts/reflash_ben.sh @@ -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