Эх сурвалжийг харах

fixed: missing '/' in exclude filename

Wolfgang Ortmann 9 жил өмнө
parent
commit
283f59cd63
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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;