~q3cpma/posix-build

posix-build/prog -rwxr-xr-x 247 bytes
b94c21bbq3cpma Sync util.sh 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
set -eu
rpath_bin=$(dirname -- "$0")/prog-c
rpath_share=$(dirname -- "$0")
. "$rpath_share"/util.sh

# Use the util.sh functions
if is_help "$@" || [ $# -eq 0 ]
then
	cat <<EOF
My help message
EOF
	exit
fi

exec "$rpath_bin"/prog-c "$@"