]> Zhao Yanbai Git Server - minix.git/commitdiff
better cpp
authorBen Gras <ben@minix3.org>
Fri, 17 Feb 2012 22:53:25 +0000 (23:53 +0100)
committerBen Gras <ben@minix3.org>
Fri, 17 Feb 2012 22:53:44 +0000 (23:53 +0100)
commands/cpp/cpp.sh

index a2ca6f99a759b2e06de112b66f5ffadb5df76732..9bcd22d9cae34ddbde248f3f78ae49e3ac4a6f6a 100644 (file)
@@ -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 "$@"