Procházet zdrojové kódy

fixed: missing '/' in exclude filename

Wolfgang Ortmann před 9 roky
rodič
revize
283f59cd63
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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;