openocd scripts: allow to call them from another dir
This commit is contained in:
@@ -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