summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--febootstrap_debian.ml2
-rw-r--r--febootstrap_pacman.ml2
2 files changed, 2 insertions, 2 deletions
diff --git a/febootstrap_debian.ml b/febootstrap_debian.ml
index c0cfbac..83c6c1a 100644
--- a/febootstrap_debian.ml
+++ b/febootstrap_debian.ml
@@ -107,7 +107,7 @@ let debian_list_files pkg =
(* No per-file metadata like in RPM, but we can synthesize it
* from the path.
*)
- let config = statbuf.st_kind = S_REG && string_prefix path "/etc/" in
+ let config = statbuf.st_kind = S_REG && string_prefix "/etc/" path in
let mode = statbuf.st_perm in
diff --git a/febootstrap_pacman.ml b/febootstrap_pacman.ml
index bc2a887..5076d85 100644
--- a/febootstrap_pacman.ml
+++ b/febootstrap_pacman.ml
@@ -109,7 +109,7 @@ let pacman_list_files pkg =
(* No per-file metadata like in RPM, but we can synthesize it
* from the path.
*)
- let config = statbuf.st_kind = S_REG && string_prefix path "/etc/" in
+ let config = statbuf.st_kind = S_REG && string_prefix "/etc/" path in
let mode = statbuf.st_perm in