summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorCarl Sorensen <c_sorensen@byu.edu>2012-03-17 16:25:39 -0600
committerCarl Sorensen <c_sorensen@byu.edu>2012-03-21 15:19:27 -0600
commit33609230c23886ac7976bfe12532f65ba7506bcf (patch)
tree8ca265d2128ead19e9634cb3584c253a50358ae4 /make
parent2ab98854c8f67c0edf5bc655a45aa6226e2caca9 (diff)
Fix issue 2389 -- change echo -n to printf for OSX compatibility
Diffstat (limited to 'make')
-rw-r--r--make/midi-rules.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/midi-rules.make b/make/midi-rules.make
index 18dcc17246..51bf3f298f 100644
--- a/make/midi-rules.make
+++ b/make/midi-rules.make
@@ -9,7 +9,7 @@ $(outdir)/%.midi: %.ly $(LILYPOND_BINARY)
cp $< $(outdir)
$(outdir)/%-midi.ly: $(outdir)/%.midi $(MIDI2LY)
- (echo '\header {'; for f in $(HEADER_FIELDS); do echo -n $$f'="'; cat $(outdir)/$*.$$f; echo '"'; done; echo '}') > $(outdir)/$*.header
+ (echo '\header {'; for f in $(HEADER_FIELDS); do printf $$f'="'; cat $(outdir)/$*.$$f; echo '"'; done; echo '}') > $(outdir)/$*.header
$(PYTHON) $(MIDI2LY) $(shell cat $(outdir)/$*.options) --quiet --include-header=$(outdir)/$*.header -o $(outdir) $<
$(outdir)/%.diff: %.ly $(outdir)/%-midi.ly