[Midnightbsd-cvs] mports: Chroot.pm: fix bug that was preventing mtree from running

ctriv at midnightbsd.org ctriv at midnightbsd.org
Mon Sep 15 14:35:53 EDT 2008


Log Message:
-----------
fix bug that was preventing mtree from running correctly in the chroot
reference directory.

Modified Files:
--------------
    mports/Tools/lib/Magus:
        Chroot.pm (r1.25 -> r1.26)

-------------- next part --------------
Index: Chroot.pm
===================================================================
RCS file: /home/cvs/mports/Tools/lib/Magus/Chroot.pm,v
retrieving revision 1.25
retrieving revision 1.26
diff -L Tools/lib/Magus/Chroot.pm -L Tools/lib/Magus/Chroot.pm -u -r1.25 -r1.26
--- Tools/lib/Magus/Chroot.pm
+++ Tools/lib/Magus/Chroot.pm
@@ -251,8 +251,8 @@
 
 sub _mtree {
   my ($self, $mtreefile, $dir) = @_;
-  
-  system("/usr/sbin/mtree -deU -f $self->{root}/usr/src/etc/mtree/$mtreefile -p $self->{root}$dir >/dev/null 2>&1");
+
+  system("/usr/sbin/mtree -deU -f $self->{root}/etc/mtree/$mtreefile -p $self->{root}$dir >/dev/null 2>&1");
 }
 
 sub _mkdir {


More information about the Midnightbsd-cvs mailing list