Paying attentioon helps
This commit is contained in:
parent
f9325d02c9
commit
fdf0f88dea
|
@ -47,8 +47,8 @@ parseArgs (Args t dir h v r c) = do
|
||||||
|
|
||||||
mkIndex :: Bool -> FilePath -> FilePath -> IO ()
|
mkIndex :: Bool -> FilePath -> FilePath -> IO ()
|
||||||
mkIndex True d l = do
|
mkIndex True d l = do
|
||||||
line <- readFile $ d++"/"++l
|
line <- head . lines <$> readFile path
|
||||||
putStrLn $ "=> " ++ path ++ (head . lines $ line)
|
putStrLn $ "=> " ++ path ++ line
|
||||||
where path = d++"/"++l++" "
|
where path = d++"/"++l++" "
|
||||||
|
|
||||||
mkIndex False d l = putStrLn $ "=> " ++ path
|
mkIndex False d l = putStrLn $ "=> " ++ path
|
||||||
|
|
Loading…
Reference in a new issue