Permalink
Browse files

can't install if no cabal executable

  • Loading branch information...
1 parent d4bc34d commit f4b4e52f26afc03f6d9e9de033038b58070a8b1c @JPMoresmau committed Sep 28, 2012
@@ -167,8 +167,8 @@ public void start() {
if (serverExecutable!=null){
browserExecutablePath = new Path(serverExecutable);
}
-
- if (buildWrapperExecutablePath==null || browserExecutablePath==null){
+ // can't install if no cabal executable
+ if ((buildWrapperExecutablePath==null || browserExecutablePath==null) && CabalImplementationManager.getCabalExecutable()!=null){
boolean ignore=HaskellUIPlugin.getDefault().getPreferenceStore().getBoolean( IPreferenceConstants.IGNORE_MISSING_EXECUTABLE );
if (!ignore){
final Display display = HaskellUIPlugin.getStandardDisplay();

0 comments on commit f4b4e52

Please sign in to comment.