Skip to content

Commit

Permalink
No need to replace %20 in FindFiles.sh since this was taken care of s…
Browse files Browse the repository at this point in the history
…omewhere else.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@11138 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
dietmarw committed Feb 14, 2012
1 parent 19ea7b7 commit bb1b66f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Examples/GenerateDoc.mos
Expand Up @@ -274,7 +274,7 @@ for filepath in sorted(glob.glob('*.html')):
writeFile("FindFiles.sh","#!/bin/bash
rm -f *.png *.pdf FindFiles.log
OMLIBRARY=\""+getInstallationDirectoryPath()+"/lib/omlibrary\"
grep -v http:// *.html | grep -v [Mm][Oo][Dd][Ee][Ll][Ii][Cc][Aa]:// | egrep -o \"[A-Za-z_0-9%.: -]*/[A-Za-z_0-9%.:/ -]*\\.(png|jpg|pdf)\" | cut -d: -f2- | sort -u | tr -d \\\" | sed 's/ /%20/g' > tmp
grep -v http:// *.html | grep -v [Mm][Oo][Dd][Ee][Ll][Ii][Cc][Aa]:// | egrep -o \"[A-Za-z_0-9%.: -]*/[A-Za-z_0-9%.:/ -]*\\.(png|jpg|pdf)\" | cut -d: -f2- | sort -u | tr -d \\\" > tmp
for f in `cat tmp`; do
f=`echo $f | sed 's/%20/ /'`
if test -f \"$OMLIBRARY/$f\"; then
Expand Down

0 comments on commit bb1b66f

Please sign in to comment.