Quellcode durchsuchen

fixed: missing '/' in exclude filename

Wolfgang Ortmann vor 9 Jahren
Ursprung
Commit
283f59cd63
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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;