summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-01-09 12:23:11 +0100
committerStefan Metzmacher <metze@samba.org>2009-01-09 12:23:58 +0100
commit308eb1c46e0c76a30bf869e5e971d531df935d80 (patch)
tree12e38914c230dcd70d0633c32da4ca876056b0f7
parent2a52b059ce44403ff6ced066e0bb23fa6cc66a73 (diff)
downloadsamba-308eb1c46e0c76a30bf869e5e971d531df935d80.tar.gz
samba-308eb1c46e0c76a30bf869e5e971d531df935d80.tar.bz2
samba-308eb1c46e0c76a30bf869e5e971d531df935d80.zip
Revert "quote ' inside '...' and make sure shell isn't eating \ by using perl here."
This reverts commit 2a52b059ce44403ff6ced066e0bb23fa6cc66a73. It breaks the build on ubuntu. metze
-rw-r--r--source4/build/m4/public.m45
1 files changed, 2 insertions, 3 deletions
diff --git a/source4/build/m4/public.m4 b/source4/build/m4/public.m4
index eca7e8fcb7..e51a8ac146 100644
--- a/source4/build/m4/public.m4
+++ b/source4/build/m4/public.m4
@@ -201,9 +201,8 @@ CEOF
for ac_var in $ac_subst_vars
do
- eval ac_val=\$$ac_var
- # quote ' (\x27) inside '...' and make sure \ isn't eaten by shells, so use perl:
- perl -e '$myval="$ENV{ac_val}"; $myval =~ s/\x27/\\\x27/g ; print $ENV{ac_var}." => \x27$myval\x27,\n"' >> $1
+ eval ac_val=\$$ac_var
+ echo "$ac_var => '$ac_val'," >> $1
done
cat >>$1<<CEOF