瀏覽代碼

fixed: missing '/' in exclude filename

Wolfgang Ortmann 9 年之前
父節點
當前提交
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;