opnsense-ports/devel/autoconf-switch/files/autoconf
Franco Fichtner 990cd6aba8 */*: sync with upstream
Taken from: FreeBSD
2022-06-02 09:53:38 +02:00

4 lines
158 B
Bash

#! /bin/sh
${DEFAULT_AUTOCONF:+exec "$0${DEFAULT_AUTOCONF}" "$@"}
c=$(ls -d "$0"[0-9]* 2>/dev/null | sort -Vr | head -n1)
exec "${c:?$0: not installed}" "$@"