summaryrefslogtreecommitdiff
path: root/source3/script
diff options
context:
space:
mode:
Diffstat (limited to 'source3/script')
-rw-r--r--source3/script/.cvsignore1
-rwxr-xr-xsource3/script/mkproto.sh (renamed from source3/script/mkproto.sh.in)8
2 files changed, 2 insertions, 7 deletions
diff --git a/source3/script/.cvsignore b/source3/script/.cvsignore
index 5efd0d33db..7a8114ecd7 100644
--- a/source3/script/.cvsignore
+++ b/source3/script/.cvsignore
@@ -1,2 +1 @@
findsmb
-mkproto.sh
diff --git a/source3/script/mkproto.sh.in b/source3/script/mkproto.sh
index 8d7d300ff5..2bf96c9b41 100755
--- a/source3/script/mkproto.sh.in
+++ b/source3/script/mkproto.sh
@@ -1,13 +1,9 @@
-#! /bin/sh -x
+#! /bin/sh
LANG=C; export LANG
LC_ALL=C; export LC_ALL
LC_COLLATE=C; export LC_COLLATE
-# Need reference point for "mkproto.awk", including when "srcdir != builddir".
-# Use of "abs_..." is unpleasant. Is there another way?
-abs_srcdir=@abs_srcdir@
-
if [ $# -lt 3 ]
then
echo "Usage: $0 awk [-h headerdefine] outputheader proto_obj"
@@ -36,7 +32,7 @@ echo creating $header
mkdir -p `dirname $header`
${awk} $headeropt \
- -f $abs_srcdir/mkproto.awk $proto_src > $headertmp
+ -f script/mkproto.awk $proto_src > $headertmp
if cmp -s $header $headertmp 2>/dev/null
then