openocd scripts: allow to call them from another dir

This commit is contained in:
Philippe Teuwen committed 2019-10-15 13:06:46 +02:00
1 parent bd13f72a59
commit 2173cadf23
3 files changed
+3

No files matched your search

+1
View File
@@ -1,5 +1,6 @@
#!/bin/bash
cd $(dirname "$0")
. openocd_configuration || exit 1
if [ -e "$DUMP" ]; then
@@ -1,5 +1,6 @@
#!/bin/bash
cd $(dirname "$0")
. openocd_configuration || exit 1
if [ ! -e "$IMAGE" ]; then
@@ -1,5 +1,6 @@
#!/bin/bash
cd $(dirname "$0")
. openocd_configuration || exit 1
echo "*********************************************"