Skip to content
Snippets Groups Projects
Commit 8eb2ad3c authored by Timo Koch's avatar Timo Koch
Browse files

[doxygen] Fix shell function syntax

The function definition requires brackets (). The function keyword
is unnecessary and results in less portable shell code, see:
http://unix.stackexchange.com/questions/73750/difference-between-function-foo-and-foo
parent 149c4e44
No related branches found
No related tags found
1 merge request!49[doxygen] Add auto-deletion of the html folder, so that doxygen always builds a new documentation
# sanitizes the links to the given lists, because doxygen somehow links
# to a page with a wrong index
function sanitizelinks {
sanitizelinks () {
NEW_FILE=`grep -l "\"title\">$1" html/*html | egrep -o [0-9]+`
OLD_FILE=`awk -v a=$NEW_FILE 'BEGIN {printf("%05d", a-1)}'`
sed -i "s/$OLD_FILE/$NEW_FILE/g" html/*html
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment