git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a52b05
)
Revert "quote ' inside '...' and make sure shell isn't eating \ by using perl here."
author
Stefan Metzmacher
<metze@samba.org>
Fri, 9 Jan 2009 11:23:11 +0000
(12:23 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 9 Jan 2009 11:23:58 +0000
(12:23 +0100)
This reverts commit
2a52b059ce44403ff6ced066e0bb23fa6cc66a73
.
It breaks the build on ubuntu.
metze
source4/build/m4/public.m4
patch
|
blob
|
history
diff --git
a/source4/build/m4/public.m4
b/source4/build/m4/public.m4
index eca7e8fcb7829f0d8a54038f573f297c7b216ab8..e51a8ac1464c71e5ce3a381c70a571abcb5357e8 100644
(file)
--- 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