mirror of https://github.com/scrapy/scrapy.git
make runtests.sh more virtualenv-friendly
This commit is contained in:
parent
daa9506b34
commit
c82260f5ec
|
|
@ -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 ]; then
|
||||
trial="/usr/lib/twisted/bin/trial"
|
||||
elif [ -x /usr/lib64/twisted/bin/trial ]; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue