Skip to content
This repository has been archived by the owner on Apr 9, 2019. It is now read-only.

Fix 7u51 build #125

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
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
Prev Previous commit
Run upstream's preparing script if it exists
Upstream v7.45-2 introduced a preparing script to download and inflate
archives. If the version we are building against contains that script,
then run it to inflate archives in order to build packages.
ladios committed Jan 16, 2014
commit 70408f49e9e5b44820354b630220ca2c0c1060a7
7 changes: 7 additions & 0 deletions oab-java.sh
Original file line number Diff line number Diff line change
@@ -562,6 +562,13 @@ BUILD_MESSAGE="Automated build for ${LSB_REL} using https://github.com/rraptorr/
# Change directory to the build directory
cd ${WORK_PATH}/src

# Run upstream's preparing script if it exists
if [ -f prepare.sh ]; then
ncecho " [x] Inflating archives "
./prepare.sh >> "$log" 2>&1 &
pid=$!;progress $pid
fi

# Update the changelog
ncecho " [x] Updating the changelog "
dch --distribution ${LSB_CODE} --force-distribution --newversion ${NEW_VERSION} --force-bad-version --urgency=${DEB_URGENCY} "${BUILD_MESSAGE}" >> "$log" 2>&1 &