diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2018-04-04 12:39:34 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2018-04-04 13:01:10 +0200 |
commit | b73156ea0af9c65914e0bcebd535269c44f43dd1 (patch) | |
tree | b7b584a882161ddd3017851b99b2f4ee255363e4 /Makefile | |
parent | 5298a5409162793860fae38c19cf752e463eee7b (diff) |
Make version parsing more robust.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -21,7 +21,7 @@ TAR ?= tar XZ ?= xz GPG ?= gpg -VERSION ?= $(shell grep '^version = ' Cargo.toml | cut -d'"' -f2) +VERSION ?= $(shell grep '^version[[:space:]]*=[[:space:]]*' Cargo.toml | cut -d'"' -f2) # Make sure subprocesses pick these up. export PREFIX |