Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add notice when winxed path not found

  • Loading branch information...
commit 86c48690b043ec016efad5eedfacf022dae8fa16 1 parent fc65b78
@plobsing authored
Showing with 6 additions and 1 deletion.
  1. +6 −1 setup.winxed
View
7 setup.winxed
@@ -115,7 +115,12 @@ Get the directory in which winxed lives
function get_winxed_dir() {
var env = new 'Env';
- return env['WINXED_PATH'];
+ string path = env['WINXED_PATH'];
+ if (path == '')
+ die("Cannot find winxed.\n" +
+ "Please add $WINXED_PATH to your environment\n" +
+ "or bug NotFound about making winxed installable.\n");
+ return path;
}
Please sign in to comment.
Something went wrong with that request. Please try again.