Skip to content
Snippets Groups Projects
Commit 585fdcc4 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

remove path of generator

parent 8fbbc58c
No related branches found
No related tags found
No related merge requests found
......@@ -128,7 +128,7 @@ function _generateFiles(){
# add generator
# sed -i "s#{{generator}}#generated by $0 - template: $mytpl - $( date )#g" $_tmpfile
local _md5=$( md5sum $_tmpfile | awk '{ print $1 }' )
sed -i "s#{{generator}}#GENERATED BY $0 - template: $mytpl - $_md5#g" $_tmpfile
sed -i "s#{{generator}}#GENERATED BY $( basename $0 ) - template: $mytpl - $_md5#g" $_tmpfile
# loop over vars to make the replacement
grep "^[a-zA-Z]" $( basename $0 ).cfg | while read line
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment