Allow python interpreter specification for test run.

This commit is contained in:
Bastian Kleineidam 2012-10-26 18:05:00 +02:00
parent 9c63262eb5
commit 5f2e6730a9

View file

@ -20,5 +20,5 @@ errfile=alexa_1m_err.log
rm -f $logfile $errfile
for url in $(shuf $HOME/src/alexatopsites/top-1m.txt); do
echo "Checking $url" | tee -a $logfile | tee -a $errfile
./linkchecker -r1 --no-status $DEBUG $url >> $logfile 2>>$errfile
${PYTHON:-python} linkchecker -r1 --no-status $DEBUG $url >> $logfile 2>>$errfile
done