1#!/bin/sh
2
3FINDBIN=$(cd -- "$(dirname "$0")" && pwd)
4. "$FINDBIN/common.sh"
5
6
7usage() {
8    echo "Usage: $0 <NAME>"
9    exit 1
10}
11
12
13if [ $# -eq 0 ]; then
14    usage
15fi
16
17
18RUN=$(find "$DESTDIR" -name "$1" -type f -executable)
19shift
20
21if [ -z "$RUN" ]; then
22    usage
23fi
24
25env "PERL5LIB=$PERLLIB" "$RUN" "$@"
26