summaryrefslogtreecommitdiffstats
path: root/ffi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ffi/Makefile')
-rw-r--r--ffi/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffi/Makefile b/ffi/Makefile
index ed3b0d3f..24c416cc 100644
--- a/ffi/Makefile
+++ b/ffi/Makefile
@@ -4,7 +4,7 @@
PREFIX ?= /usr/local
DESTDIR ?=
-VERSION ?= $(shell grep '^version = ' Cargo.toml | cut -d'"' -f2)
+VERSION ?= $(shell grep '^version[[:space:]]*=[[:space:]]*' Cargo.toml | cut -d'"' -f2)
VERSION_MAJOR = $(shell echo $(VERSION) | cut -d'.' -f1)
# Tools.