ao-bringup: Make turnon_easymega run without 'make install'
authorKeith Packard <keithp@aimi.keithp.com>
Fri, 19 Jun 2015 00:37:35 +0000 (17:37 -0700)
committerKeith Packard <keithp@aimi.keithp.com>
Fri, 19 Jun 2015 00:37:35 +0000 (17:37 -0700)
Use relative paths for all altos tools

Signed-off-by: Keith Packard <keithp@aimi.keithp.com>
ao-bringup/test-easymega
ao-bringup/turnon_easymega

index 76f3effb63ae69e4a36dff927b3d1a8826162a14..2f0a7822335e8ea46fb2babdfb6bc568da593e39 100755 (executable)
@@ -12,7 +12,7 @@ echo "\t$PRODUCT v$VERSION powered from USB"
 echo
 
 ret=1
-ao-list | while read product serial dev; do
+../ao-tools/ao-list/ao-list | while read product serial dev; do
     case "$product" in
        "$PRODUCT-v$VERSION")
 
index 015465374f73b2bac954516a128ac3d67d75bc38..1e75e72fb0c9a04be36f87f07fabeaf94a681a22 100755 (executable)
@@ -38,7 +38,7 @@ $USBLOAD --serial=$SERIAL $REPO/easymega-v$VERSION*.elf || exit 1
 
 sleep 2
 
-dev=`ao-list | awk '/EasyMega-v'"$VERSION"'/ { print $3; exit(0); }'`
+dev=`../ao-tools/ao-list/ao-list | awk '/EasyMega-v'"$VERSION"'/ { print $3; exit(0); }'`
 
 case "$dev" in
 /dev/tty*)