summaryrefslogtreecommitdiff
path: root/source3/script/build_idl.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source3/script/build_idl.sh')
-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