Skip to content
Snippets Groups Projects
Commit 8c3e05ff authored by chrfranke's avatar chrfranke
Browse files

Fix sort order of mixed SVN and CVS Id strings.

git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@2835 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent 72e46f89
No related branches found
No related tags found
No related merge requests found
......@@ -274,8 +274,8 @@ cvsversion.h: $(CVSVERSION_DEPS)
echo '/* cvsversion.h. Generated by Makefile. */' > $@
(cd $(srcdir) && cat Makefile.am configure.in smart*.in *.cpp *.h *.s) \
| sed -n 's,^.*\$$[I][d]: [^ ]* [^ ]* \(20[01][0-9][-/][01][0-9][-/][0-3][0-9] [0-9][0-9]:[0-9][0-9]\):[0-9][0-9][^$$]*\$$.*$$,\1,p' \
| sort -r \
| sed 's,/,-,g;s,^\(.*\)$$,#define SMARTMONTOOLS_CVS_DATE_TIME "\1",;1q' \
| sed 's,/,-,g' | sort -r \
| sed 's,^\(.*\)$$,#define SMARTMONTOOLS_CVS_DATE_TIME "\1",;1q' \
>> $@
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment