From 8ef86ffe8411428a5fee05a76bc2a5e34d52597b Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Fri, 17 Feb 2012 23:53:25 +0100 Subject: [PATCH] better cpp --- commands/cpp/cpp.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/commands/cpp/cpp.sh b/commands/cpp/cpp.sh index a2ca6f99a..9bcd22d9c 100644 --- a/commands/cpp/cpp.sh +++ b/commands/cpp/cpp.sh @@ -1,6 +1,2 @@ -exec 2>>/cpp.log -set -x -if [ $# -ne 1 ] -then exec /usr/pkg/bin/clang "$@" -E - -else exec /usr/pkg/bin/clang "$@" -E -fi +#!/bin/sh +/usr/pkg/bin/clang -cc1 -E "$@" -- 2.44.0