fix bug in unix mercurial installation

This commit is contained in:
Sebastian Sdorra
2011-01-04 16:39:36 +01:00
parent 2beb334fcb
commit 9926e722c2

View File

@@ -43,6 +43,7 @@ import sonia.scm.repository.HgConfig;
//~--- JDK imports ------------------------------------------------------------
import java.io.File;
import java.io.IOException;
/**
*
@@ -92,10 +93,13 @@ public class UnixHgInstaller extends AbstractHgInstaller
*
*
* @param config
*
* @throws IOException
*/
@Override
public void install(HgConfig config)
public void install(HgConfig config) throws IOException
{
super.install(config);
config.setHgBinary(search(PATH, "hg"));
config.setPythonBinary(search(PATH, "python"));
}