Fix home not found
This commit is contained in:
parent
a4a44a3779
commit
3763a095cb
2 changed files with 2 additions and 2 deletions
2
configure
vendored
2
configure
vendored
|
|
@ -236,7 +236,7 @@ OCAMLVERSION=$ocaml_version
|
||||||
|
|
||||||
|
|
||||||
pr2 "Generating globals/config_flitter.ml";
|
pr2 "Generating globals/config_flitter.ml";
|
||||||
`perl -p -e 's#Not_found1.\*#Not_found->\\\"$src\\\"#' globals/config_flitter.ml.in > globals/config_flitter.ml`;
|
`perl -p -e 's#Not_found1.\*#Not_found->\\\"./\\\"#' globals/config_flitter.ml.in > globals/config_flitter.ml`;
|
||||||
|
|
||||||
`perl -p -i -e 's#Not_found[0-9]#Not_found#' globals/config_flitter.ml`;
|
`perl -p -i -e 's#Not_found[0-9]#Not_found#' globals/config_flitter.ml`;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ let version = "0.29"
|
||||||
|
|
||||||
let path =
|
let path =
|
||||||
try (Sys.getenv "FLITTER_HOME")
|
try (Sys.getenv "FLITTER_HOME")
|
||||||
with Not_found->"/usr/local/share/flitter"
|
with Not_found->"./"
|
||||||
|
|
||||||
let std_xxx = ref (Filename.concat path "xxx.yyy")
|
let std_xxx = ref (Filename.concat path "xxx.yyy")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue