buildOcamlJane: Add line breaks
This commit is contained in:
parent
4fcc1a5a97
commit
284c2d8ef5
@ -24,7 +24,12 @@ buildOcaml (args // {
|
|||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
opam-installer -i --prefix $prefix --libdir `ocamlfind printconf destdir` --stubsdir `ocamlfind printconf destdir`/${name} ${name}.install
|
opam-installer -i --prefix $prefix --libdir `ocamlfind printconf destdir` --stubsdir `ocamlfind printconf destdir`/${name} ${name}.install
|
||||||
if [ -d $out/lib/${name} ]; then if [ "$(ls -A $out/lib/${name})" ]; then mv $out/lib/${name}/* `ocamlfind printconf destdir`/${name}; fi; rmdir $out/lib/${name}; fi
|
if [ -d $out/lib/${name} ]
|
||||||
|
then if [ "$(ls -A $out/lib/${name})" ]
|
||||||
|
then mv $out/lib/${name}/* `ocamlfind printconf destdir`/${name}
|
||||||
|
fi
|
||||||
|
rmdir $out/lib/${name}
|
||||||
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user