Skip to content
Snippets Groups Projects
Commit 5fba7045 authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

hotfix script license

parent 0bf8676a
No related branches found
No related tags found
2 merge requests!436Release to start wolf public,!433After 2nd RA-L submission
Pipeline #7670 canceled
...@@ -136,6 +136,7 @@ echo "Recursively adding license header to all files (.c, .cpp, .h, .hpp):" ...@@ -136,6 +136,7 @@ echo "Recursively adding license header to all files (.c, .cpp, .h, .hpp):"
for i in $file_list for i in $file_list
do do
if grep -Fxq ${line_start_mark} $i; then if grep -Fxq ${line_start_mark} $i; then
:
else else
echo " - ${i}" echo " - ${i}"
( echo ${line_start_mark}$'\n//'; cat ${license}; echo $'//\n'${line_end_mark}; cat $i ) > temp_file ( echo ${line_start_mark}$'\n//'; cat ${license}; echo $'//\n'${line_end_mark}; cat $i ) > temp_file
......
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