Niels Thykier pushed to branch master at Debian Java Maintainers / javatools
Commits: faded9b2 by Niels Thykier at 2018-09-18T17:57:31Z jh_exec: Fix missing check of whether a path exists Signed-off-by: Niels Thykier <[email protected]> - - - - - 2 changed files: - debian/changelog - jh_exec Changes: ===================================== debian/changelog ===================================== @@ -4,6 +4,7 @@ javatools (0.66) UNRELEASED; urgency=medium * jh_installlibs: Re-add glob-expansion in jlibs files, which were unintentionally lost in the "shell -> perl" rewrite of jh_installibs. + * jh_exec: Fix missing guard to skip directories that do not exist. -- Niels Thykier <[email protected]> Tue, 18 Sep 2018 17:24:59 +0000 ===================================== jh_exec ===================================== @@ -41,6 +41,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { my $tmpdir = tmpdir($package); for my $path_dir (PATH_DIRS) { my $dir = "${tmpdir}/${path_dir}"; + next if not -d $dir; opendir(my $dirfd, $dir) or error("opendir($dir) failed: $!"); for my $file (readdir($dirfd)) { next if $file eq '.' or $file eq '..'; View it on GitLab: https://salsa.debian.org/java-team/javatools/commit/faded9b2f3c211f5611748a0c847466dbc14738a -- View it on GitLab: https://salsa.debian.org/java-team/javatools/commit/faded9b2f3c211f5611748a0c847466dbc14738a You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ pkg-java-commits mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-commits

