mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-16 15:11:52 +00:00
13 lines
188 B
Bash
Executable File
13 lines
188 B
Bash
Executable File
#!/bin/sh
|
|
# Wrapper for gencat
|
|
TMP=/tmp/catgen.$$
|
|
trap "rm -f $TMP" 0 1 2 3 15
|
|
|
|
GENCAT="$1"
|
|
shift
|
|
OUT="$1"
|
|
shift
|
|
cat "$@" > "$TMP"
|
|
echo "$(basename "$OUT" .cat)"
|
|
"${GENCAT}" "$OUT" "$TMP"
|