summaryrefslogtreecommitdiffstats
path: root/modules/woff2/update.sh
diff options
context:
space:
mode:
Diffstat (limited to 'modules/woff2/update.sh')
-rwxr-xr-xmodules/woff2/update.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/woff2/update.sh b/modules/woff2/update.sh
index 6933accd9..2baa49a73 100755
--- a/modules/woff2/update.sh
+++ b/modules/woff2/update.sh
@@ -11,10 +11,11 @@ COMMIT=`(cd ${MY_TEMP_DIR}/woff2 && git log | head -n 1)`
perl -p -i -e "s/\[commit [0-9a-f]{40}\]/[${COMMIT}]/" README.mozilla;
rm -rf src
+rm -rf include
mv ${MY_TEMP_DIR}/woff2/src src
-patch -p3 < redefine-unique_ptr.patch
+mv ${MY_TEMP_DIR}/woff2/include include
rm -rf ${MY_TEMP_DIR}
-hg add src
+
echo "###"
echo "### Updated woff2/src to $COMMIT."