diff options
author | Singustromo <singustromo@disroot.org> | 2023-11-04 23:23:18 +0100 |
---|---|---|
committer | Singustromo <singustromo@disroot.org> | 2023-11-04 23:23:18 +0100 |
commit | 27eb1a83175dcc0ae4e0877a9c06764cb6376bad (patch) | |
tree | 336b3b67270ca0e7d36e9c742939e1b2c2d7d608 | |
parent | 119b6a73cef32512fb0f716367f052e2b3c26475 (diff) | |
download | radio-sh-27eb1a83175dcc0ae4e0877a9c06764cb6376bad.tar.gz radio-sh-27eb1a83175dcc0ae4e0877a9c06764cb6376bad.zip |
workdir: nested source fix
-rwxr-xr-x | radio | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/radio b/radio index 3ba3a4b..33ab4d3 100755 --- a/radio +++ b/radio @@ -18,7 +18,7 @@ readonly _version='2.1.0-dev' readonly _contact='singustromo@disroot.org' -_workdir="$(realpath "${BASH_SOURCE[0]}")" +_workdir="$(realpath "${BASH_SOURCE[-1]}")" readonly _workdir="${_workdir%/*}" readonly _scriptname="${0##*/}" |