Merge pull request #30 from aspiers/chkstow-stow-dir

make chkstow honour $STOW_DIR environment variable
This commit is contained in:
Adam Spiers 2019-02-09 17:08:44 +00:00 committed by GitHub
commit 74defd4812
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
THANKS
View file

@ -31,6 +31,7 @@ Kristoffer Haugsbakk
Hongyi Zhao Hongyi Zhao
Jean Louis Jean Louis
Daniel Shahaf Daniel Shahaf
Matan Nassau
Email addresses of new contributors are no longer being added by default Email addresses of new contributors are no longer being added by default
for privacy reasons; however please contact the maintainer if you are for privacy reasons; however please contact the maintainer if you are

View file

@ -8,7 +8,7 @@ require 5.006_001;
use File::Find; use File::Find;
use Getopt::Long; use Getopt::Long;
my $DEFAULT_TARGET = '/usr/local/'; my $DEFAULT_TARGET = $ENV{STOW_DIR} || '/usr/local/';
our $Wanted = \&bad_links; our $Wanted = \&bad_links;
our %Package = (); our %Package = ();