ao-bringup: Use local versions of tools instead of /usr/bin for turnon_easymega
authorKeith Packard <keithp@keithp.com>
Fri, 19 Jun 2015 00:12:41 +0000 (17:12 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 19 Jun 2015 00:12:41 +0000 (17:12 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
ao-bringup/turnon_easymega
ao-tools/ao-flash/ao-flash-stm [changed mode: 0644->0755]

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
old mode 100644 (file)
new mode 100755 (executable)