From 67733b9d3c96aa1d470ffe5517621ba8e955a8f3 Mon Sep 17 00:00:00 2001 From: dtrg Date: Sun, 30 Jul 2006 23:37:15 +0000 Subject: [PATCH] Added the correct shell script magic. (Some platforms insist on this.) --- lang/cem/libcc.ansi/ctype/genfiles | 1 + lang/cem/libcc.ansi/stdlib/malloc/add_file | 15 ++++++++------- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/lang/cem/libcc.ansi/ctype/genfiles b/lang/cem/libcc.ansi/ctype/genfiles index 5b63b8ec9..061a214bc 100644 --- a/lang/cem/libcc.ansi/ctype/genfiles +++ b/lang/cem/libcc.ansi/ctype/genfiles @@ -1,3 +1,4 @@ +#!/bin/sh for i in isalnum isalpha iscntrl isdigit isgraph islower isprint \ ispunct isspace isupper isxdigit isascii diff --git a/lang/cem/libcc.ansi/stdlib/malloc/add_file b/lang/cem/libcc.ansi/stdlib/malloc/add_file index 7a5eace59..58585bf05 100755 --- a/lang/cem/libcc.ansi/stdlib/malloc/add_file +++ b/lang/cem/libcc.ansi/stdlib/malloc/add_file @@ -1,10 +1,11 @@ -echo '' -echo '/**********************************************************/' -echo '/*' -echo '/* ' This was file $1 -echo '/*' -echo '/**********************************************************/' -echo '' +#!/bin/sh + +echo "" +echo "/**********************************************************/" +echo "/* This was file $1 */" +echo "/**********************************************************/" +echo "" + cat $1 | sed ' /#include[ ].*"/d