Use mkdir -p instead of deprecated ensureDir
This commit is contained in:
parent
9182824c6a
commit
35cdb19f03
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user