[Box Backup] Small tweak to makeparcels.pl
David H Kaufman
boxbackup@boxbackup.org
Sat, 18 Oct 2008 09:34:03 -0400
makeparcels.pl assumes that the directory it is installing into (e.g.
/usr/local/bin) exists. Because of the way Gentoo ebuilds work, this is not
usually the case for us, so we are carrying a trivial patch to
makeparcels.pl.in. It would be nice if this change made it into the base
distribution:
*** boxbackup-0.11rc2.dist/infrastructure/makeparcels.pl.in 2008-10-18
07:58:40.000000000 -0400
--- boxbackup-0.11_rc2/infrastructure/makeparcels.pl.in 2008-10-18
08:05:27.000000000 -0400
***************
*** 161,166 ****
--- 161,167 ----
{
$local_install_dir = "@prefix@/$dest";
}
+ print SCRIPT "mkdir -p
\${DESTDIR}$install_into_dir/\n";
print SCRIPT "install $name " .
"\$DESTDIR$local_install_dir\n";
}
Thanks,
David
P.S. For the Gentoo fans out there, I have just done an update to the
pending boxbackup 0.11_rc2 ebuild. See Gentoo bug at 205558
http://bugs.gentoo.org/show_bug.cgi?id=205558 .