Scrapy, a fast high-level web crawling & scraping framework for Python.
make runtests.sh more virtualenv-friendly
Pablo Hoffmanc82260f5ec6a
diff --git a/bin/runtests.sh b/bin/runtests.shindex 48a623d6d..a4e2b482e 100755--- a/bin/runtests.sh+++ b/bin/runtests.sh@@ -1,8 +1,8 @@#!/bin/sh-# look for twisted trial command in common known locations-if [ -x /usr/bin/trial ]; then- trial="/usr/bin/trial"+# look for twisted trial command+if type trial >/dev/null 2>&1; then+ trial="trial"elif [ -x /usr/lib/twisted/bin/trial ]; thentrial="/usr/lib/twisted/bin/trial"elif [ -x /usr/lib64/twisted/bin/trial ]; then