summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoel Rosdahl <joel@rosdahl.net>2011-08-24 22:23:28 +0200
committerJoel Rosdahl <joel@rosdahl.net>2011-08-24 22:24:07 +0200
commitb91827a0cd35e842a0dd8d593c32fb81335119df (patch)
treeb36b414cd0423bcdbec0b0daa799114f70c6b974 /Makefile
parent864d13cc3f50417819f6cfe0480c425f0db6b633 (diff)
downloadminiircd-b91827a0cd35e842a0dd8d593c32fb81335119df.tar.gz
miniircd-b91827a0cd35e842a0dd8d593c32fb81335119df.zip
Simplify sed expression
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 772374e..b1893d8 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-VERSION := $(shell sed -n -e '/version = /{s/version = "\(.*\)"/\1/;p;}' <miniircd)
+VERSION := $(shell sed -ne 's/^version = "\(.*\)"/\1/p' miniircd)
DISTFILES = miniircd COPYING README.md