Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
caisar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
caisar
Commits
3c7f18e5
Commit
3c7f18e5
authored
7 months ago
by
Julien Girard-Satabin
Browse files
Options
Downloads
Patches
Plain Diff
Apply 1 suggestion(s) to 1 file(s)
Co-authored-by:
Michele Alberti
<
michele.alberti@cea.fr
>
parent
6a3b6ba6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
update_headers.sh
+1
-1
1 addition, 1 deletion
update_headers.sh
with
1 addition
and
1 deletion
update_headers.sh
+
1
−
1
View file @
3c7f18e5
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment