Use FindBin if available
FindBin is a bit more sophisticated than the fallback code which does not work in this scenario:
- Clone this repo to
~/Source/KDE/kdesrc-build
(ie. not~/.local/share/kdesrc-build
). - Create a relative (!) symlink:
ln -s ../../Source/KDE/kdesrc-build ~/.local/bin/
- Execute
kdesrc-build --version
Edited by Malte Stretz