]> thyrsus.com Git - freecode-submit.git/commitdiff
Yuck. Relax a regexp.
authorEric S. Raymond <esr@thyrsus.com>
Fri, 27 Sep 2013 08:48:17 +0000 (04:48 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 27 Sep 2013 08:48:17 +0000 (04:48 -0400)
Makefile

index 656195add361123f2cd957f3850246aab65c1576..ef3adc3df0b58a7e8b3148a56d67242e793fb1eb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 # Makefile for the freecode-submit tool
 
-VERS=$(shell sed <freecode-submit -n -e '/version="\(.*\)"/s//\1/p')
+VERS=$(shell sed <freecode-submit -n -e '/version *= *"\(.*\)"/s//\1/p')
 
 PREFIX=/usr