Skip to content

Commit

Permalink
v0.5.3.2: quick regression fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mtolly committed Apr 6, 2017
1 parent c5c65dc commit 95bcba1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions jammittools.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: jammittools
Version: 0.5.3.1
Version: 0.5.3.2
Synopsis: Export sheet music and audio from Windows/Mac app Jammit
Description:

Expand Down Expand Up @@ -61,7 +61,7 @@ executable jammittools
, directory >= 1.2.0.1 && < 1.4
, filepath >= 1.3.0.1 && < 1.5
, boxes >= 0.1.3 && < 0.2
, jammittools == 0.5.3.1
, jammittools == 0.5.3.2
ghc-options: -Wall -O2

source-repository head
Expand Down
4 changes: 2 additions & 2 deletions src/Sound/Jammit/Base.hs
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,8 @@ lsAbsolute d =
-- info file.
songSubdirs :: FilePath -> IO [FilePath]
songSubdirs dir = case takeFileName $ dropTrailingPathSeparator dir of
'.' : _ -> return []
_ -> do
fn@('.' : _ : _) | fn /= ".." -> return []
_ -> do
isSong <- Dir.doesFileExist $ dir </> "info.plist"
let here = [dir | isSong]
subdirs <- lsAbsolute dir >>= filterM Dir.doesDirectoryExist
Expand Down

0 comments on commit 95bcba1

Please sign in to comment.