Skip to content
Snippets Groups Projects
Commit 3c7f18e5 authored by Julien Girard-Satabin's avatar Julien Girard-Satabin
Browse files

Apply 1 suggestion(s) to 1 file(s)


Co-authored-by: default avatarMichele Alberti <michele.alberti@cea.fr>
parent 6a3b6ba6
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@ OLD_DATE=$(sed "5q;d" src/main.ml | awk '{print $4}')
if [ "$OLD_DATE" != "$NEW_DATE" ]; then
echo "Replacing $OLD_DATE by $NEW_DATE in headers."
find . \( -type d -name .git -prune \) \( -type d -name ._build -prune \) -o -type f -print0 | xargs -0 sed -i 's/(C) '${OLD_DATE}'/(C) '${NEW_DATE}'/g'
find . -type d \( -name .git -o -name _build \) -prune -o -type f -print0 | xargs -0 sed -i 's/(C) '"${OLD_DATE}"'/(C) '"${NEW_DATE}"'/g'
echo "Done."
exit 0
else
......
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