[Python-modules-commits] r3986 - in tools (find_python_dependencies.sh)

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Mon Dec 17 21:41:17 UTC 2007


    Date: Monday, December 17, 2007 @ 21:41:16
  Author: piotr
Revision: 3986

display only first match (useful when egrep crashes; TODO: fix egrep issue)

Modified:
  tools/find_python_dependencies.sh

Modified: tools/find_python_dependencies.sh
===================================================================
--- tools/find_python_dependencies.sh	2007-12-17 21:41:03 UTC (rev 3985)
+++ tools/find_python_dependencies.sh	2007-12-17 21:41:16 UTC (rev 3986)
@@ -68,5 +68,5 @@
 		| sed -e "s/\.pyc$/.py/" \
 			-e "s:.*/site-packages/:site-packages/:" \
 			-e "s:.*/python-support/python[0-9]\.[0-9]/::" \
-		| xargs -I{} $FIND {}
+		| xargs -I{} $FIND {} | head -n 1
 done




More information about the Python-modules-commits mailing list