crossbow
crossbow copied to clipboard
cb_script shall use $RealBin instead of $Bin to resolve libraries
One of the ways to use cb_* scripts can be putting symbolic links to them in /usr/local/bin or similar paths (instead of polluting ever growing PATH). Unfortunately the Perl scripts find their libraries by checking executable file path and its directory without following any symbolic links. I suggest using $RealBin instead of $Bin to resolve this situation the easiest way.
one can patch the cb_hadoop script, for example, with
sudo sed -i 's/$Bin/$RealBin/g' /biotools/crossbow/cb_hadoop
Best regards, Vlad