summaryrefslogtreecommitdiffstats
path: root/encap/src/bcfg2-site/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'encap/src/bcfg2-site/Makefile')
-rw-r--r--encap/src/bcfg2-site/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/encap/src/bcfg2-site/Makefile b/encap/src/bcfg2-site/Makefile
index 1f9063d9e..52b688a13 100644
--- a/encap/src/bcfg2-site/Makefile
+++ b/encap/src/bcfg2-site/Makefile
@@ -33,7 +33,7 @@ copy : fill
EN=`cat bcfg2-site-RENAME/encapname.out` && \
( test ! -d $(ED)/bcfg2-site-$${EN} || rm -rf $(ED)/bcfg2-site-$${EN} ) && \
for SRC in `find bcfg2-site-RENAME | grep -v svn | grep -v tmpl`; do \
- DEST=$(ED)/`printf "$$SRC" | sed s/RENAME/$$EN/g | sed s/\.out//g`; \
+ DEST=$(ED)/`printf "%s\n" "$$SRC" | sed s/RENAME/$$EN/g | sed s/\.out//g`; \
if [ -d $$SRC ]; then mkdir $$DEST; else cp $$SRC $$DEST; fi; \
done