tools/keyboardio-builder: Correct the dependency check

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
pull/84/head
Gergely Nagy 8 years ago
parent f371692a10
commit 2a1aafc817

@ -55,7 +55,7 @@ find_sketch () {
flash () { flash () {
. ${ROOT}/tools/settings.sh . ${ROOT}/tools/settings.sh
if [ ! -e "{HEX_FILE_PATH}" ]; then if [ ! -e "${HEX_FILE_PATH}" ]; then
compile compile
fi fi
@ -70,7 +70,7 @@ flash () {
program () { program () {
. ${ROOT}/tools/settings.sh . ${ROOT}/tools/settings.sh
if [ ! -e "{HEX_FILE_PATH}" ]; then if [ ! -e "${HEX_FILE_PATH}" ]; then
compile compile
fi fi
@ -88,7 +88,7 @@ program () {
hex_with_bootloader () { hex_with_bootloader () {
. ${ROOT}/tools/settings.sh . ${ROOT}/tools/settings.sh
if [ ! -e "{HEX_FILE_PATH}" ]; then if [ ! -e "${HEX_FILE_PATH}" ]; then
compile compile
fi fi
@ -176,7 +176,7 @@ build_all () {
report_size () { report_size () {
. ${ROOT}/tools/settings.sh . ${ROOT}/tools/settings.sh
if [ ! -e "{HEX_FILE_PATH}" ]; then if [ ! -e "${HEX_FILE_PATH}" ]; then
compile compile
fi fi
@ -188,7 +188,7 @@ report_size () {
size_map () { size_map () {
. ${ROOT}/tools/settings.sh . ${ROOT}/tools/settings.sh
if [ ! -e "{HEX_FILE_PATH}" ]; then if [ ! -e "${HEX_FILE_PATH}" ]; then
compile compile
fi fi
@ -198,7 +198,7 @@ size_map () {
decompile () { decompile () {
. ${ROOT}/tools/settings.sh . ${ROOT}/tools/settings.sh
if [ ! -e "{HEX_FILE_PATH}" ]; then if [ ! -e "${HEX_FILE_PATH}" ]; then
compile compile
fi fi

Loading…
Cancel
Save