1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00

travis fix #5 - /opt/python

This commit is contained in:
Shlomi Fish 2018-03-19 15:36:39 +02:00
parent 908c95fdb7
commit 21b0360197

View file

@ -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