[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor-messenger-build/master] instantbird: remove failure when there is no *.mozpatch file
commit add2f1e655ad3405a78d5764090038aecbe41fea
Author: Nicolas Vigier <boklm@xxxxxxxxxxxxxx>
Date: Sat Nov 22 14:50:09 2014 +0100
instantbird: remove failure when there is no *.mozpatch file
---
projects/instantbird/build | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/projects/instantbird/build b/projects/instantbird/build
index b3d8531..4233a88 100644
--- a/projects/instantbird/build
+++ b/projects/instantbird/build
@@ -38,10 +38,13 @@ do
patch -p1 < $patch
done
cd mozilla
-for patch in $(ls -1 $rootdir/*.mozpatch | sort)
-do
- patch -p1 < $patch
-done
+if ls -1 $rootdir/*.mozpatch > /dev/null 2>&1
+then
+ for patch in $(ls -1 $rootdir/*.mozpatch | sort)
+ do
+ patch -p1 < $patch
+ done
+fi
cd ..
cp ../[% c('input_files_by_name/mozconfig') %] .mozconfig
./mozilla/mach build || ./mozilla/mach build
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits