Skip to content

Commit

Permalink
Only find files in the current directory
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoelund authored and OpenModelica-Hudson committed Feb 21, 2017
1 parent f0ca662 commit a06724a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Examples/GenerateDoc.mos
Expand Up @@ -517,7 +517,7 @@ system("mkdir -p " + dirs);
system("cp '" + py + "' '" + self + "' .");
"tar";
dirs;
cmd := "find . -name '*.html' -print0 | tar cJf ModelicaDocumentation.tar.xz --dereference --null style.css " + dirs + " GenerateDoc.mos generate_icons.py fix-case-sensitive.py FindFiles.log tidy.filtered tidy.links";
cmd := "find . -maxdepth 1 -name '*.html' -print0 | tar cJf ModelicaDocumentation.tar.xz --dereference --null style.css " + dirs + " GenerateDoc.mos generate_icons.py fix-case-sensitive.py FindFiles.log tidy.filtered tidy.links";
system(cmd);
getErrorString();

Expand All @@ -530,6 +530,6 @@ system("mkdir -p " + dirs);
system("cp '" + py + "' '" + self + "' .");
"tar";
dirs;
cmd := "find . -name '*.html' -print | zip -qr ModelicaDocumentation.zip style.css -@ Icons " + dirs + " GenerateDoc.mos generate_icons.py fix-case-sensitive.py FindFiles.log tidy.filtered tidy.links";
cmd := "find . -maxdepth 1 -name '*.html' -print | zip -qr ModelicaDocumentation.zip style.css -@ Icons " + dirs + " GenerateDoc.mos generate_icons.py fix-case-sensitive.py FindFiles.log tidy.filtered tidy.links";
system(cmd);
getErrorString();

0 comments on commit a06724a

Please sign in to comment.