diff --git a/scripts/travis-ci-build b/scripts/travis-ci-build index de59681c..27e6dd20 100644 --- a/scripts/travis-ci-build +++ b/scripts/travis-ci-build @@ -1,3 +1,8 @@ #!/bin/bash -PATH="$(perl -lE 'my @p = split/:/,$ENV{PATH}; print join q#:#, grep { ! m#\A/opt/python# } @p;')" make test || exit -1 +# Functioned-out - may be useful later. +proc_path() +{ + PATH="$(perl -lE 'my @p = split/:/,$ENV{PATH}; print join q#:#, grep { ! m#\A/opt/python# } @p;')" "$@" +} +make test || exit -1 make dist || exit -1