mirror of
https://hub.spigotmc.org/stash/scm/spigot/buildtools.git
synced 2025-09-18 21:45:56 +00:00
BUILDTOOLS-479: Clearer message when git is not working/installed on Linux
This commit is contained in:
parent
096cd96739
commit
d1839aed8c
1 changed files with 8 additions and 1 deletions
|
@ -197,7 +197,14 @@ public class Builder
|
|||
}
|
||||
}
|
||||
|
||||
runProcess( CWD, "git", "--version" );
|
||||
try
|
||||
{
|
||||
runProcess( CWD, "git", "--version" );
|
||||
} catch ( Exception ex )
|
||||
{
|
||||
System.out.println( "Could not successfully run git. Please ensure it is installed and functioning. " + ex.getMessage() );
|
||||
System.exit( 1 );
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue