From cf4630dbe1dc7f2644b24b673676f4bf48f23a28 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Sat, 9 May 2009 19:14:56 +0200 Subject: [PATCH] Remove some useless use of cat Signed-off-by: Uli Schlachter --- build-utils/gperf.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build-utils/gperf.sh b/build-utils/gperf.sh index 6ef0c7d7..e02e0f03 100755 --- a/build-utils/gperf.sh +++ b/build-utils/gperf.sh @@ -75,8 +75,8 @@ do_c() { exit 1; fi; - cat <//g' %{ `do_hdr` @@ -119,8 +119,8 @@ trap "rm -f ${TARGET}" 0 rm -f "${TARGET}" case "${TARGET}" in - *.h) cat "${TOKENS_FILE}" | do_h > "${TARGET}";; - *.c) cat "${TOKENS_FILE}" | do_c > "${TARGET}";; + *.h) do_h > "${TARGET}" < "${TOKENS_FILE}" ;; + *.c) do_c > "${TARGET}" < "${TOKENS_FILE}" ;; *) die "you must ask for the 'h' or 'c' generation";; esac chmod -w "${TARGET}"