Hi Yann,

Welcome to Easybuild.

On Thu, Jul 2, 2015 at 5:46 PM, Yann Sagon <[email protected]> wrote:
> I'm trying to write my first easyconfig file (for Gadget2). Once untarred, 
> the source of Gadget2 contains a directory named Gadget2, so I need to 
> instruct easybuild to cd to that directory. Is this possible or I need to 
> write my own easyblock? I'm using the easyblock MakeCp as there is no 
> configure.

You don't need to do anything. EB will first extract the provide
source and then cd in the directory that was created. It is only when
multiple directories are created that you need to help EB and tell
which one to use (with the start_dir variable in the easyconfig). If
you run eb with the -l option, you should see that it changes to the
extracted directory, the variable is called start_dir.

Ward

Reply via email to