[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor-messenger-build/master] instantbird/build: apply all *.patch files
commit 8c1a292b389751a8598afc78391986a7036592ad
Author: Nicolas Vigier <boklm@xxxxxxxxxxxxxx>
Date: Thu Oct 23 17:40:47 2014 +0200
instantbird/build: apply all *.patch files
Apply all patches in the current directory, instead of listing them all
in the build script. They still need to be listed in the config file.
Change suggested by Sukhbir.
---
projects/instantbird/build | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/projects/instantbird/build b/projects/instantbird/build
index 5bb9eb4..05abace 100644
--- a/projects/instantbird/build
+++ b/projects/instantbird/build
@@ -26,9 +26,10 @@ cd moz
tar xvf ../[% c('input_files_by_name/mozilla-src') %]
mv mozilla-* ../[% project %]-[% c('version') %]/mozilla
cd ../[% project %]-[% c('version') %]
-patch -p1 < ../changes-chat-prefs.patch
-patch -p1 < ../prepare-messages-for-displaying.patch
-patch -p1 < ../Send-raw-msgs-through-the-conversation-service.patch
+for patch in $(ls -1 ../*.patch | sort)
+do
+ patch -p1 < $patch
+done
cp ../mozconfig .mozconfig
./mozilla/mach build
./mozilla/mach package
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits