On 03/06/15 11:46, Niek de Klein wrote:
Hi all,

I'm trying to write an .eb file for verifyBamID. The folder where the executable verifyBamID is located in is also called verifyBamId.

So now when I use

    executables = ['verifyBamID']
    files_to_copy = [(executables, 'bin')]

The path to the executable is $root/verifyBamID/1.1.2-goolf-1.7.20/bin/verifyBamID/bin/verifyBamID. This should be $root/verifyBamID/1.1.2-goolf-1.7/20/bin/verifyBamID, both for clarity and because $root/verifyBamID/1.1.2-goolf-1.7/20/bin/ is added to PATH.

I have the same problem for other software where the folder name is the same as the executable. For software where the rest of the .eb file is exactly the same but where the folder name and executable name are different it works as expected.

How can I get folder structure to be set correctly when the folder and software name are the same?



So, how about using:

executables = ['verifyBamID/bin/*']
files_to_copy = [(executables, 'bin')]


That should work...


regards,

Kenneth

PS: Please consider opening a pull request for ouyr easyconfigs, when they work. See https://github.com/hpcugent/easybuild/wiki/Contributing-back.

Reply via email to