gecko/mfbt/double-conversion/update.sh
Rafael Ávila de Espíndola 9a009da19f Bug 806538 - Update double-conversion and document the version we are at. r=Waldo.
--HG--
extra : rebase_source : 5394aab0cb622ad3723ca01a91712ce7cc9ae145
2012-10-30 15:30:08 -04:00

21 lines
422 B
Bash
Executable File

# Usage: ./update.sh <double-conversion-src-directory>
#
# Copies the needed files from a directory containing the original
# double-conversion source that we need.
# This was last updated with git rev e5b34421b763f7bf7e4f9081403db417d5a55a36.
set -e
cp $1/LICENSE ./
cp $1/README ./
# Includes
cp $1/src/*.h ./
# Source
cp $1/src/*.cc ./
patch -p3 < add-mfbt-api-markers.patch
patch -p3 < use-StandardInteger.patch