summaryrefslogtreecommitdiff
path: root/source3/script
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-09-07 20:29:03 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:51:17 -0500
commit6ed67b003efb4482d2543314bbc4e9d5e3128d1f (patch)
treeadf9c68e4de0b9297b2dc6ebdc643e45536b2a65 /source3/script
parentc43047009b2f10da077965e36d1123ca818154c8 (diff)
downloadsamba-6ed67b003efb4482d2543314bbc4e9d5e3128d1f.tar.gz
samba-6ed67b003efb4482d2543314bbc4e9d5e3128d1f.tar.bz2
samba-6ed67b003efb4482d2543314bbc4e9d5e3128d1f.zip
r18232: - Trim number of regexes applied to generated files
- Fix syntax error in shell script (refused by dash) - Regenerate output (This used to be commit 4dba965f9aa30eb2a54dc68e1bd5137ec6f5e6be)
Diffstat (limited to 'source3/script')
-rw-r--r--source3/script/build_idl.sh7
1 files changed, 2 insertions, 5 deletions
diff --git a/source3/script/build_idl.sh b/source3/script/build_idl.sh
index 2b90d27436..00f03359d4 100644
--- a/source3/script/build_idl.sh
+++ b/source3/script/build_idl.sh
@@ -19,7 +19,7 @@ for f in ${IDL_FILES}; do
basename=`basename $f .idl`
ndr="librpc/gen_ndr/ndr_$basename.c"
- if [ -f $ndr && 0 ]; then
+ if [ -f $ndr ] && false; then
if [ "x`find librpc/idl/$f -newer $ndr -print`" = "xlibrpc/idl/$f" ]; then
list="$list librpc/idl/$f"
fi
@@ -42,10 +42,7 @@ fi
##
for f in librpc/gen_ndr/ndr_*.c; do
- cat $f | sed -e 's/^static //g' \
- -e 's/^_PUBLIC_ //g' \
- -e 's/#include <stdint.h>//g' \
- -e 's/#include <stdbool.h>//g' > $f.new
+ cat $f | sed -e 's/^static //g' > $f.new
/bin/mv -f $f.new $f
done