use takeDirectory instead of parentDir
authorJoey Hess <joeyh@joeyh.name>
Thu, 22 Sep 2016 15:25:01 +0000 (11:25 -0400)
committerJoey Hess <joeyh@joeyh.name>
Thu, 22 Sep 2016 15:25:01 +0000 (11:25 -0400)
commitece88889a7537c67b96aa205cb8c0891bee927e8
treead948cdef6f4b72ba1c39537fcf4479f49214860
parentb69b764717579a78b97f41ed2b63f0d446ca33e2
use takeDirectory instead of parentDir

No need for a trailing slash in the directory here, so avoid pulling in an
extra module.
Utility/FreeDesktop.hs