Commit 5b18307b authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

DRTVWR-418: Fix obsolete constant EXPAT_VERSION to read dynamically.

build-cmd.sh was setting EXPAT_VERSION=2.0.1 even though Simon just updated
the upstream source to 2.1.1. Use sed to pull the version number out of the
expat/config file so we no longer have to manually update EXPAT_VERSION.
parent c7831dba
......@@ -24,8 +24,9 @@ set -x
set_build_variables convenience Release
EXPAT_VERSION=2.0.1
EXPAT_SOURCE_DIR=expat
EXPAT_VERSION="$(sed -n -E "s/^ *PACKAGE_VERSION *= *'(.*)' *\$/\1/p" \
"$EXPAT_SOURCE_DIR/configure")"
top="$(dirname "$0")"
STAGING_DIR="$(pwd)"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment