Skip to content

Commit cc877cf

Browse files
author
jantje
committed
replaced --version to where for #415
1 parent 93ec49c commit cc877cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

it.baeyens.arduino.core/src/it/baeyens/arduino/ui/Activator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ public void start(BundleContext context) throws Exception {
6565

6666
private static void testKnownIssues() {
6767
if (Platform.getOS().equals(Platform.OS_WIN32)) {
68-
String bashCommand = "bash --version"; //$NON-NLS-1$
69-
String shCommand = "sh --version"; //$NON-NLS-1$
68+
String bashCommand = "where bash"; //$NON-NLS-1$
69+
String shCommand = "where sh"; //$NON-NLS-1$
7070
boolean bashFound = false;
7171
ExternalCommandLauncher bashCommandLauncher = new ExternalCommandLauncher(bashCommand);
7272
try {

0 commit comments

Comments
 (0)