3
0
Fork 0
forked from mirrors/nixpkgs

lilypond-with-fonts: fix typos

In development, I experimented with file globs, for loops and making the
supplementary fonts optional. As such, the original PR ended up with a
dysfunctional combination.

This commit fully adopts the for loop approach, which I prefer, since failing
matches, e.g. missing supplementary-fonts/, won't cause a failure.
This commit is contained in:
Eric Bailey 2017-03-07 23:02:26 -06:00
parent e206d5ab63
commit 90c5c9d8c9
No known key found for this signature in database
GPG key ID: 29E1B8D32C1635C4

View file

@ -24,11 +24,11 @@ let
installPhase = ''
for f in {otf,supplementary-fonts}/**.{o,t}tf; do
install -Dt $out/otf -m755 otf/*
install -Dt $out/otf -m755 $f
done
for f in svg/**.{svg,woff}; do
install -Dt $out/svg -m755 svg/*
install -Dt $out/svg -m755 $f
done
'';