diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-03 13:54:25 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-03 13:54:25 +0000 |
commit | 613b5479a576e8b54bc261055d341466fa57a937 (patch) | |
tree | 4e8f56ead3c83759cf5c9005d350926275370f66 /debian/mk-fix-revdate | |
parent | Adding upstream version 060+5. (diff) | |
download | dracut-613b5479a576e8b54bc261055d341466fa57a937.tar.xz dracut-613b5479a576e8b54bc261055d341466fa57a937.zip |
Adding debian version 060+5-1.debian/060+5-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/mk-fix-revdate')
-rwxr-xr-x | debian/mk-fix-revdate | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/mk-fix-revdate b/debian/mk-fix-revdate new file mode 100755 index 0000000..f16aeca --- /dev/null +++ b/debian/mk-fix-revdate @@ -0,0 +1,8 @@ +#! /bin/bash + +> debian/fix-revdate +for i in $(git grep -L ':revdate:' -- '*.[0-9].asc'); do + revdate=$(git log -1 --date=short --pretty='%cd' $i); + echo sed -i -e \'"3i:revdate: $revdate"\' $i >> debian/fix-revdate +done +chmod a+rx debian/fix-revdate |