[PATCH][MINOR] Use FindBin::RealBin to allow stow to stow itself.
SJS <[email protected]> Sat, 22 Jun 2013 17:33:27 +0000
| Newsgroups | gmane.comp.gnu.stow.bugs |
|---|---|
| Message-ID | <[email protected]> |
Signed-off-by: SJS <[email protected]> --- 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