[Box Backup] Small tweak to makeparcels.pl
Chris Wilson
boxbackup@boxbackup.org
Sat, 18 Oct 2008 14:54:49 +0100 (BST)
Hi David,
On Sat, 18 Oct 2008, David H Kaufman wrote:
> 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, I've done that now, although I think it should be
$local_install_dir instead of $install_into_dir, so I used that instead.
> 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 .
Thanks :)
Cheers, Chris.
--
_____ __ _
\ __/ / ,__(_)_ | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Ruby/Perl/SQL Developer |
\ _/_/_/_//_/___/ | We are GNU : free your mind & your software |