Skip to content

Commit fd31cc8

Browse files
authored
Merge pull request #789 from jmrenouard/master
Bug fix on makefile
2 parents 56b7415 + d45dd77 commit fd31cc8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CURRENT_VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1+
2.5.4

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ generate_cve:
4141
git commit -m "Generate CVE list at $(shell date --iso=seconds)"
4242

4343
generate_version_file:
44-
grep "# mysqltuner.pl - Version" ./mysqltuner.pl | awk '{ print $NF}' > CURRENT_VERSION.txt
44+
rm -f CURRENT_VERSION.txt
45+
grep "# mysqltuner.pl - Version" ./mysqltuner.pl | awk '{ print $$NF}' > CURRENT_VERSION.txt
4546

4647
generate_features:
4748
perl ./build/genFeatures.sh

0 commit comments

Comments
 (0)