diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2020-03-23 10:50:40 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2020-03-23 12:02:03 -0700 |
commit | 38719ce6dee40964aa4056c4b11073eb895831e9 (patch) | |
tree | 82ea17a1d7fe31fd6bf61dbf718684b20cdc8648 /bin/locmaint | |
parent | 174e546a1e9572e760834d87a4dc68b6547838d1 (diff) | |
download | dotfiles-38719ce6dee40964aa4056c4b11073eb895831e9.tar.gz |
locmaint: build and use a hash of Debian source trees under ~/src
Also, look at other branches to find the source package name. This
deals with repos where the toplevel dir is not the source package name
and where the master branch doesn't have debian/, such as my
~/src/p5-* repos.
Diffstat (limited to 'bin/locmaint')
-rwxr-xr-x | bin/locmaint | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/locmaint b/bin/locmaint index f6e6b51a..67eea85b 100755 --- a/bin/locmaint +++ b/bin/locmaint @@ -627,7 +627,7 @@ sub loose_src_files { # permit orig.tars with associated source trees || ((-f || -l) && /([^_]+)_([^_]+)\.orig(?:\.gbp)?\.tar/ - && (-d $1 || -d "$1-$2")) + && exists $Local::Homedir::debian_source_repos{$1}) }, preprocess => sub { # don't look inside any repos return grep { not Local::Homedir::is_repo($_) } @_ |