openocd scripts: allow to call them from another dir
This commit is contained in:
1 parent
bd13f72a59
commit
2173cadf23
3 files changed
+3
No files matched your search
@@ -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 "*********************************************"
|
||||
|
||||
Reference in new issue
Block a user