mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-13 08:55:44 +01:00
fix bug in unix mercurial installation
This commit is contained in:
@@ -43,6 +43,7 @@ import sonia.scm.repository.HgConfig;
|
|||||||
//~--- JDK imports ------------------------------------------------------------
|
//~--- JDK imports ------------------------------------------------------------
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
|
import java.io.IOException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
@@ -92,10 +93,13 @@ public class UnixHgInstaller extends AbstractHgInstaller
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* @param config
|
* @param config
|
||||||
|
*
|
||||||
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void install(HgConfig config)
|
public void install(HgConfig config) throws IOException
|
||||||
{
|
{
|
||||||
|
super.install(config);
|
||||||
config.setHgBinary(search(PATH, "hg"));
|
config.setHgBinary(search(PATH, "hg"));
|
||||||
config.setPythonBinary(search(PATH, "python"));
|
config.setPythonBinary(search(PATH, "python"));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user