We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ddfd28 commit 4ec03f3Copy full SHA for 4ec03f3
Makefile
@@ -4,7 +4,7 @@ PKG_REVISION ?= $(shell git describe --tags 2>/dev/null)
4
PKG_BUILD = 1
5
BASE_DIR = $(shell pwd)
6
ERLANG_BIN = $(shell dirname $(shell which erl 2>/dev/null) 2>/dev/null)
7
-OTP_VER = $(shell echo $(ERLANG_BIN) | rev | cut -d "/" -f 2 | rev)
+OTP_VER = $(shell erl -eval 'erlang:display(erlang:system_info(otp_release)), halt().' -noshell)
8
REBAR ?= $(BASE_DIR)/rebar3
9
OVERLAY_VARS ?=
10
TEST_IGNORE ?= lager riak basho_bench
0 commit comments