summaryrefslogtreecommitdiffstats
path: root/src/config_file.ml
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-04-25 15:16:22 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-04-25 15:16:22 +0000
commitf37d7371879e2b1e2d923ec12762430b3d1937fc (patch)
tree28155bfc9dca9815ac7e8c7599130a15b1d2cb1b /src/config_file.ml
parentbe4fff49f0164e606d4b2f76f64d4d108895f236 (diff)
downloadperl_checker-1.2.3.tar
perl_checker-1.2.3.tar.gz
perl_checker-1.2.3.tar.bz2
perl_checker-1.2.3.tar.xz
perl_checker-1.2.3.zip
re-sync after the big svn loss1.2.41.2.3
Diffstat (limited to 'src/config_file.ml')
-rw-r--r--src/config_file.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config_file.ml b/src/config_file.ml
index a5ee94f..efb6fb3 100644
--- a/src/config_file.ml
+++ b/src/config_file.ml
@@ -19,8 +19,8 @@ let read dir =
let config =
fold_lines (fun config line ->
match words line with
- | [ "Basedir"; ".." ] -> { config with basedir = Some 1 }
- | [ "Basedir"; "../.." ] -> { config with basedir = Some 2 }
+ | [ "Basedir"; ".." ] -> { basedir = Some 1 }
+ | [ "Basedir"; "../.." ] -> { basedir = Some 2 }
| [] -> config (* blank line *)
| [ "Ignore"; pkg ]
| [ pkg ] (* the deprecated form *)