github-merge-pr: correctly reference .config from script directory
authorChristian Marangi <ansuelsmth@gmail.com>
Mon, 29 Apr 2024 21:27:15 +0000 (23:27 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Mon, 29 Apr 2024 21:27:15 +0000 (23:27 +0200)
commit7241209902ee72d4d9d3c0b43a49b624b90cfb2a
tree64172a9b6a18f7e14360d50a4bb35fb225801df0
parent727eb6a24b9794fc035c4a4fef9396a2428a2a1a
github-merge-pr: correctly reference .config from script directory

Currently the script reference the .config from the current directory
instead of using the directory where the script is located.

Use dirname $0 to correctly reference the .config in the script
directory instead of the current directory where the script is executed.

Fixes: a598bb477585 ("github-merge-pr: move script config to separate file")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
github-merge-pr.sh