examples: fix call to start-bash-session.sh
Ensure that the file relative to the example scripts is called. Previously, the unqualified call would give precedence to source files in PATH. This could lead to the wrong file being called when dir `helper` (containing another file named `start-bash-session.sh`) was in PATH.
This commit is contained in:
@@ -123,7 +123,7 @@ c nodeinfo
|
|||||||
|
|
||||||
case ${1:-} in
|
case ${1:-} in
|
||||||
-i|--interactive)
|
-i|--interactive)
|
||||||
. start-bash-session.sh
|
. ./start-bash-session.sh
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ c nodeinfo
|
|||||||
|
|
||||||
case ${1:-} in
|
case ${1:-} in
|
||||||
-i|--interactive)
|
-i|--interactive)
|
||||||
. start-bash-session.sh
|
. ./start-bash-session.sh
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user