Explorar el Código

fixed: missing '/' in exclude filename

Wolfgang Ortmann hace 9 años
padre
commit
283f59cd63
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/excludetools.cpp

+ 1 - 1
src/excludetools.cpp

@@ -50,7 +50,7 @@ Strings getExclusions(const KindConfig& conf, bool shellMode)
       string userExcludeFile = conf.getString("userExcludeFile");
       if (!userExcludeFile.empty())
         {
-          userExcludeFile = path + userExcludeFile;
+          userExcludeFile = path + "/" + userExcludeFile;
           string getExcludeFileCommand = " \" if [ -f '" + userExcludeFile + "' ]; then ";
           getExcludeFileCommand += " cat '" + userExcludeFile + "' ; fi \"";
           // cout << getExcludeFileCommand << endl;