#!/bin/sh # remove locally built libixion so that we actually test the system one versions="$(dpkg --no-pager -l 'libixion-*'|awk '/^ii/ {} /libixion-[0-9]/ {print $2}'|cut -d: -f1|cut -d- -f2)" for v in $versions; do echo deleting the following files: find . -name "*${v}.so*" find . -name "*${v}.so*" -delete done if [ -d ./src/python/.libs ]; then rm -rfv ./src/python/.libs fi make check