Use mkdir -p instead of deprecated ensureDir

This commit is contained in:
Bas van Dijk 2014-11-29 14:24:31 +01:00
parent 9182824c6a
commit 35cdb19f03

View file

@ -246,12 +246,12 @@ in
./Setup copy
ensureDir $out/bin # necessary to get it added to PATH
mkdir -p $out/bin # necessary to get it added to PATH
local confDir=$out/lib/ghcjs-${ghc.ghc.version}_ghc-${ghc.ghc.ghc.version}/package.conf.d
local installedPkgConf=$confDir/${self.fname}.installedconf
local pkgConf=$confDir/${self.fname}.conf
ensureDir $confDir
mkdir -p $confDir
./Setup register --gen-pkg-config=$pkgConf
if test -f $pkgConf; then
echo '[]' > $installedPkgConf