Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions packaging/common/produce-script
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@ BUILT_ON_OS_VERSION="`expr "$OS_VERSION" : "\([0-9]*\)"`"
echo "BUILT_ON_OS_VERSION=$BUILT_ON_OS_VERSION"

# Shipped LMDB version, compared against the installed one by
# lmdb_migration_needed() (CFE-4701).
LMDB_VERSION="`sed -e 's,/*$,,' -e 's,.*/LMDB_,,' "$SCRIPTDIR/../../deps-packaging/lmdb/source" 2>/dev/null`"
# lmdb_migration_needed() (CFE-4701). The source file lists one mirror URL per
# line, so the version is taken from the first.
LMDB_VERSION="`sed -e 's,/*$,,' -e 's,.*/LMDB_,,' -e q "$SCRIPTDIR/../../deps-packaging/lmdb/source" 2>/dev/null`"
echo "LMDB_VERSION=$LMDB_VERSION"

case "$SCRIPT_TYPE" in
Expand Down
Loading