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.
DEFAULT_VERSION_CODE
1 parent 2bfda46 commit 6b69325Copy full SHA for 6b69325
secp256k1-sys/vendor-libsecp.sh
@@ -8,7 +8,7 @@ else
8
SECP_VENDOR_GIT_ROOT="$(realpath "$SECP_VENDOR_GIT_ROOT")"
9
fi
10
SECP_SYS="$SECP_VENDOR_GIT_ROOT"/secp256k1-sys
11
-DEFAULT_VERSION_CODE=$(grep "^version" "$SECP_SYS/Cargo.toml" | sed 's/\./_/g' | sed 's/.*"\(.*\)".*/\1/')
+DEFAULT_VERSION_CODE=$(grep "^version" "$SECP_SYS/Cargo.toml" | sed 's/\./_/g' | sed 's/.*"\(.*\)".*/\1/' | cut -d_ -f1-2)
12
DEFAULT_DEPEND_DIR="$SECP_SYS/depend"
13
DEFAULT_SECP_REPO=https://github.com/bitcoin-core/secp256k1.git
14
0 commit comments