66b2d53eb0
and modernize the script to take advantage of SUB_FILES. Also simplify it a bit without losing any functionality.
12 lines
217 B
Bash
12 lines
217 B
Bash
#!/bin/sh
|
|
|
|
SIRCLIB=%%PREFIX%%/libexec/sirc ; export SIRCLIB
|
|
|
|
case "$1" in
|
|
-d) shift ; exec ${SIRCLIB}/dsirc "$@" ;;
|
|
*) eval exec %%PREFIX%%/bin/ssfe $SSFE ${SIRCLIB}/dsirc \"\$@\"
|
|
esac
|
|
|
|
# Should not be reached
|
|
exit 1
|