diff options
author | josch <j.schauer@email.de> | 2015-01-07 21:16:36 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-01-07 22:45:05 +0100 |
commit | ef9672401dcfa71078bc152e156b372e868b967c (patch) | |
tree | de7dcc4e8f4cb7504d4d172111c1fb9ff7c60f10 /bin | |
parent | 41d46b8ccea0e52b631315450b64cfd43bb1c3c3 (diff) | |
download | jenkins.debian.net-ef9672401dcfa71078bc152e156b372e868b967c.tar.xz |
bin/find_dpkg_trigger_cycles.sh: modify regex to also match on empty directories as these also activate file triggers
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/find_dpkg_trigger_cycles.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/find_dpkg_trigger_cycles.sh b/bin/find_dpkg_trigger_cycles.sh index f3c70206..65e88942 100755 --- a/bin/find_dpkg_trigger_cycles.sh +++ b/bin/find_dpkg_trigger_cycles.sh @@ -193,7 +193,7 @@ cat $DIRECTORY/interested-file | while read pkg ttype ipath; do $DIRECTORY/var/lib/apt/lists/*_dists_${DIST}_main_binary-${ARCH}_Packages \ | awk '/^package:/ { print $2 }' \ | apt-file $APT_FILE_OPTS show -F --from-file - \ - | sed -ne "s ^\([^:]\+\):\s\+\(${ipath}/.*\) \1\t\2 p" \ + | sed -ne "s ^\([^:]\+\):\s\+\(${ipath}\) \1\t\2 p" \ | while read dep cpath; do [ "$pkg" != "$dep" ] || continue echo "$pkg $ipath $dep $cpath" |