installer: Fixed extra bin/ being added for EcereAudio
authorJerome St-Louis <jerome@ecere.com>
Fri, 1 Aug 2014 03:33:06 +0000 (23:33 -0400)
committerJerome St-Louis <jerome@ecere.com>
Fri, 1 Aug 2014 03:33:06 +0000 (23:33 -0400)
installer/src/installer.ec

index 30874ff..226e424 100644 (file)
@@ -1353,7 +1353,7 @@ void ModifyPath(char * systemPath, char * userPath)
          if((c != eda && c != eda32 && c != upx) && (!pathOptions[PathOptions::AddMinGWPaths].available || !pathOptions[PathOptions::AddMinGWPaths].selected))
             continue;
          additional[c].GetFullPath(path, false);
-         if(c != eda && c != eda32 && c != upx)
+         if(c != eda && c != eda32 && c != upx && c != audio && c != audio32)
             PathCat(path, "bin");
          AddPath(sysPaths, sysCount, paths, &count, oldPath, userPath ? userPath : systemPath, path);
       }