Mercurial > dottes
diff makeGraphics.sh @ 753:b83b49f2a0a0
Correct Mac-ism. find -maxdepth n, not find -depth n.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Fri, 13 Oct 2017 17:19:06 +0100 |
parents | ce5c7214f9aa |
children | e4d31e094d24 |
line wrap: on
line diff
--- a/makeGraphics.sh Fri Oct 13 16:17:56 2017 +0100 +++ b/makeGraphics.sh Fri Oct 13 17:19:06 2017 +0100 @@ -17,7 +17,7 @@ mkdir -p $graphicsdir # Now, for each tune, make the tune graphic. -find $booke -depth 1 -name "*.abc" | sort | +find $booke -maxdepth 1 -name "*.abc" | while read filename do name=`basename $filename .abc` @@ -48,7 +48,7 @@ exit fi -find ${booke}/Compact -depth 1 -name "*.abc" | sort | +find ${booke}/Compact -maxdepth 1 -name "*.abc" | while read filename do name=`basename $filename .abc`