ao-bringup: Use local versions of tools instead of /usr/bin for turnon_easymega
[fw/altos] / ao-bringup / turnon_easymega
index 632b71e2369671d8b6b46acef74a4f793e6f0622..015465374f73b2bac954516a128ac3d67d75bc38 100755 (executable)
@@ -1,14 +1,14 @@
 #!/bin/sh
 
 #!/bin/sh
 
-if [ -x /usr/bin/ao-flash-stm ]; then
-       STMLOAD=/usr/bin/ao-flash-stm
+if [ -x ../ao-tools/ao-flash/ao-flash-stm ]; then
+       STMLOAD=../ao-tools/ao-flash/ao-flash-stm
 else
        echo "Can't find ao-flash-stm!  Aborting."
        exit 1
 fi
 
 else
        echo "Can't find ao-flash-stm!  Aborting."
        exit 1
 fi
 
-if [ -x /usr/bin/ao-usbload ]; then
-       USBLOAD=/usr/bin/ao-usbload
+if [ -x ../ao-tools/ao-usbload/ao-usbload ]; then
+       USBLOAD=../ao-tools/ao-usbload/ao-usbload
 else
        echo "Can't find ao-usbload!  Aborting."
        exit 1
 else
        echo "Can't find ao-usbload!  Aborting."
        exit 1