bug-stow
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-stow] [PATCH][MINOR] Use FindBin::RealBin to allow stow to stow


From: Adam Spiers
Subject: Re: [Bug-stow] [PATCH][MINOR] Use FindBin::RealBin to allow stow to stow itself.
Date: Sat, 20 Jul 2013 19:21:26 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Hi,

Many thanks, but this patch appears to have a typo:

On Sat, Jun 22, 2013 at 05:33:27PM +0000, SJS wrote:
> 
> Signed-off-by: SJS <address@hidden>
> ---
>  bin/stow.in |    4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/bin/stow.in b/bin/stow.in
> index 5263fe8..3a77d30 100755
> --- a/bin/stow.in
> +++ b/bin/stow.in
> @@ -415,6 +415,10 @@ use POSIX qw(getcwd);
>  use Getopt::Long;
>  
>  @USE_LIB_PMDIR@
> +
> +use FindbBin;
       ^^^^^^^^

Should be FindBin, presumably.

> +use lib "$FindBin::RealBin/../lib";
> +
>  use Stow;
>  use Stow::Util qw(parent error);
>  
> -- 
> 1.7.10.4

Could you give some detail about the use case, and how you tested it?

Thanks,
Adam



reply via email to

[Prev in Thread] Current Thread [Next in Thread]