bug-stow
[Top][All Lists]
Advanced

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

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


From: SJS
Subject: [Bug-stow] [PATCH][MINOR] Use FindBin::RealBin to allow stow to stow itself.
Date: Sat, 22 Jun 2013 17:33:27 +0000
User-agent: Mutt/1.5.18 (2008-05-17)

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;
+use lib "$FindBin::RealBin/../lib";
+
 use Stow;
 use Stow::Util qw(parent error);
 
-- 
1.7.10.4




reply via email to

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