[collectd] [PATCH] bindings/Makefile.am: Removed a bashism.
Sebastian Harl
sh at tokkee.org
Sun Jan 6 20:11:29 CET 2008
Brace expansion using { and } is not defined by POSIX but rather a bash
extension and should thus not be used for portability reasons.
Signed-off-by: Sebastian Harl <sh at tokkee.org>
---
bindings/Makefile.am | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/bindings/Makefile.am b/bindings/Makefile.am
index 1c604e1..a70e982 100644
--- a/bindings/Makefile.am
+++ b/bindings/Makefile.am
@@ -19,8 +19,10 @@ perl/Makefile: .perl-directory-stamp perl/Makefile.PL \
.perl-directory-stamp:
if test ! -d perl; then \
mkdir -p perl/Collectd; \
- cp $(srcdir)/perl/{Collectd.pm,Makefile.PL} perl/; \
- cp $(srcdir)/perl/Collectd/{Unixsock.pm,Makefile.PL} perl/Collectd/; \
+ cp $(srcdir)/perl/Collectd.pm perl/; \
+ cp $(srcdir)/perl/Makefile.PL perl/; \
+ cp $(srcdir)/perl/Collectd/Unixsock.pm perl/Collectd/; \
+ cp $(srcdir)/perl/Collectd/Makefile.PL perl/Collectd/; \
fi
touch $@
--
1.5.4.rc2.17.g257f
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20080106/8ed6cf11/attachment.pgp
More information about the collectd
mailing list