summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-12-19 23:17:10 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:47:32 -0500
commite17e21172affabedc807e0c22871b6e3a1072377 (patch)
tree1c1b2d15190578295d2b1185e7c767a568602478
parentd3764fff5bf999fc67fdbb49176c06aad5e67bc7 (diff)
downloadsamba-e17e21172affabedc807e0c22871b6e3a1072377.tar.gz
samba-e17e21172affabedc807e0c22871b6e3a1072377.tar.bz2
samba-e17e21172affabedc807e0c22871b6e3a1072377.zip
r12380: add a wraper script that calls the perl scripts in heimdal_build/
with the correct perl version, that was detected with configure metze (This used to be commit 9e103e53d1245e44563eea78d398d1de9895bd0e)
-rw-r--r--source4/heimdal_build/config.mk16
-rwxr-xr-xsource4/heimdal_build/perl_path_wrapper.sh7
2 files changed, 15 insertions, 8 deletions
diff --git a/source4/heimdal_build/config.mk b/source4/heimdal_build/config.mk
index ef9b374e6a..b4b0795cbf 100644
--- a/source4/heimdal_build/config.mk
+++ b/source4/heimdal_build/config.mk
@@ -412,15 +412,15 @@ heimdal/lib/roken/vis.h: heimdal/lib/roken/vis.hin
heimdal/lib/roken/err.h: heimdal/lib/roken/err.hin
@cp heimdal/lib/roken/err.hin heimdal/lib/roken/err.h
-include asn1_deps.pl heimdal/lib/hdb/hdb.asn1 hdb_asn1|
-include asn1_deps.pl heimdal/lib/gssapi/spnego.asn1 spnego_asn1|
-include asn1_deps.pl heimdal/lib/asn1/k5.asn1 krb5_asn1 --encode-rfc1510-bit-string|
+include perl_path_wrapper.sh asn1_deps.pl heimdal/lib/hdb/hdb.asn1 hdb_asn1|
+include perl_path_wrapper.sh asn1_deps.pl heimdal/lib/gssapi/spnego.asn1 spnego_asn1|
+include perl_path_wrapper.sh asn1_deps.pl heimdal/lib/asn1/k5.asn1 krb5_asn1 --encode-rfc1510-bit-string|
-include et_deps.pl heimdal/lib/asn1/asn1_err.et|
-include et_deps.pl heimdal/lib/hdb/hdb_err.et|
-include et_deps.pl heimdal/lib/krb5/heim_err.et|
-include et_deps.pl heimdal/lib/krb5/k524_err.et|
-include et_deps.pl heimdal/lib/krb5/krb5_err.et|
+include perl_path_wrapper.sh et_deps.pl heimdal/lib/asn1/asn1_err.et|
+include perl_path_wrapper.sh et_deps.pl heimdal/lib/hdb/hdb_err.et|
+include perl_path_wrapper.sh et_deps.pl heimdal/lib/krb5/heim_err.et|
+include perl_path_wrapper.sh et_deps.pl heimdal/lib/krb5/k524_err.et|
+include perl_path_wrapper.sh et_deps.pl heimdal/lib/krb5/krb5_err.et|
heimdal_basics: \
heimdal/lib/roken/vis.h \
diff --git a/source4/heimdal_build/perl_path_wrapper.sh b/source4/heimdal_build/perl_path_wrapper.sh
new file mode 100755
index 0000000000..f739171206
--- /dev/null
+++ b/source4/heimdal_build/perl_path_wrapper.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+#
+
+SELF=$0
+DIR=`dirname $SELF`
+
+$PERL $DIR/$@