Bug 944506 - Update libopus/update.sh for DEFINES in moz.build. r=derf DONTBUILD

Bug 874266 moved the preprocessor defines to moz.build but didn't
make the corresponding change to the update script.
This commit is contained in:
Ralph Giles 2013-11-28 14:11:00 -08:00
parent cac50838e0
commit 34404252c9

View File

@ -61,9 +61,9 @@ sed -e "s/^The git tag\/revision used was .*/The git tag\/revision used was ${ve
${TARGET}/README_MOZILLA > ${TARGET}/README_MOZILLA+ && \
mv ${TARGET}/README_MOZILLA+ ${TARGET}/README_MOZILLA
# update compiled-in version string
sed -e "s/-DOPUS_VERSION='\".*\"'/-DOPUS_VERSION='\"${version}-mozilla\"'/" \
${TARGET}/Makefile.in > ${TARGET}/Makefile.in+ && \
mv ${TARGET}/Makefile.in+ ${TARGET}/Makefile.in
sed -e "s/DEFINES\['OPUS_VERSION'\][ \t]*=[ \t]*'\".*\"'/DEFINES['OPUS_VERSION'] = '\"${version}-mozilla\"'/" \
${TARGET}/moz.build > ${TARGET}/moz.build+ && \
mv ${TARGET}/moz.build+ ${TARGET}/moz.build
# apply outstanding local patches
# ... no patches to apply ...