[Midnightbsd-cvs] mports: make_chroot_tarball.pl: Enable bzip2 compression -y flag to tar

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Oct 19 16:48:07 EDT 2008


Log Message:
-----------
Enable bzip2 compression -y flag to tar

Add a newline after the warning so it's easier to read.

Modified Files:
--------------
    mports/Tools/magus:
        make_chroot_tarball.pl (r1.4 -> r1.5)

-------------- next part --------------
Index: make_chroot_tarball.pl
===================================================================
RCS file: /home/cvs/mports/Tools/magus/make_chroot_tarball.pl,v
retrieving revision 1.4
retrieving revision 1.5
diff -L Tools/magus/make_chroot_tarball.pl -L Tools/magus/make_chroot_tarball.pl -u -r1.4 -r1.5
--- Tools/magus/make_chroot_tarball.pl
+++ Tools/magus/make_chroot_tarball.pl
@@ -107,7 +107,7 @@
 sub run {
   my ($command) = @_;
 
-  print "Warning: Be sure to have /mnt and other file systems unmounted";
+  print "Warning: Be sure to have /mnt and other file systems unmounted\n";
   print "$command\n";
   system($command);
   
@@ -122,6 +122,6 @@
   die "Command returned non-zero ($?)\n";
 }
 
-run(qq(/usr/bin/tar -cpf $ballname @files));
+run(qq(/usr/bin/tar -cpyf $ballname @files));
 run(qq(/bin/ls -hl $ballname));
 


More information about the Midnightbsd-cvs mailing list