~ed.so/duplicity/0.6-ssh_config

« back to all changes in this revision

Viewing changes to testing/run-tests

  • Committer: Kenneth Loafman
  • Date: 2011-11-24 01:49:53 UTC
  • Revision ID: kenneth@loafman.com-20111124014953-6ih0y2v3lk8o1d5g
Don't assume dir location for Python.

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
 
53
53
# run against all supported python versions
54
54
for v in 2.4 2.5 2.6 2.7; do
55
 
    if [ ! -e /usr/bin/python$v ]; then
 
55
    type python$v >& /dev/null
 
56
    if [ $? == 1 ]; then
56
57
        echo "python$v not found on system"
57
58
        continue
58
59
    fi