#!/bin/sh -ex

export PATH=$PATH:/usr/local/bin

# It's useless to say anything here, qmake discards stderr
real=$(which -a pkg-config | grep --invert-match --max-count=1 $0)
exec ${real?} "$@"
