diff options
author | Joel Rosdahl <joel@rosdahl.net> | 2011-08-24 22:23:28 +0200 |
---|---|---|
committer | Joel Rosdahl <joel@rosdahl.net> | 2011-08-24 22:24:07 +0200 |
commit | b91827a0cd35e842a0dd8d593c32fb81335119df (patch) | |
tree | b36b414cd0423bcdbec0b0daa799114f70c6b974 | |
parent | 864d13cc3f50417819f6cfe0480c425f0db6b633 (diff) | |
download | miniircd-b91827a0cd35e842a0dd8d593c32fb81335119df.tar.gz miniircd-b91827a0cd35e842a0dd8d593c32fb81335119df.zip |
Simplify sed expression
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |