[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [flashproxy/master] Use -print0 in find commands.
commit ff529589a2db296d21df00df7360609da703d18d
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date: Sat Jun 1 11:48:35 2013 -0700
Use -print0 in find commands.
Suggested by weasel in #8416 comment 5.
---
doc/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/Makefile b/doc/Makefile
index e806fe8..29a0fef 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -129,7 +129,7 @@ $(PT_BUNDLE_MACOSX_I686):
cp -r "$(PYPTLIB_WORK)"/build/pyptlib "$(TBBDIR)"/Contents/MacOS
mkdir -p "$(TBBDIR)"/Contents/Resources/Docs/Obfsproxy
cp "$(OBFSPROXY_WORK)"/{LICENSE,README} "$(TBBDIR)"/Contents/Resources/Docs/Obfsproxy
- find "$(TBBDIR)"/Contents/MacOS -name '*.pyc' | xargs rm -f
+ find "$(TBBDIR)"/Contents/MacOS -name '*.pyc' -print0 | xargs -0 rm -f
cat bundle-torrc-macosx >> "$(TBBDIR)"/Library/Vidalia/torrc
@@ -166,7 +166,7 @@ $(PT_BUNDLE_GNULINUX_I686) $(PT_BUNDLE_GNULINUX_X86_64):
cp -rL "$(PYPTLIB_WORK)"/build/pyptlib "$(TBBDIR)"/App
mkdir -p "$(TBBDIR)"/Docs/Obfsproxy
cp "$(OBFSPROXY_WORK)"/{LICENSE,README} "$(TBBDIR)"/Docs/Obfsproxy
- find "$(TBBDIR)"/App -name '*.pyc' | xargs rm -f
+ find "$(TBBDIR)"/App -name '*.pyc' -print0 | xargs -0 rm -f
cat bundle-torrc-gnulinux >> "$(TBBDIR)"/Data/Tor/torrc
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits