X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=perl%2FMakefile.am;fp=perl%2FMakefile.am;h=cdf7eb12c94eceab9e4a2711427dcf4c60fc7daa;hb=109540caa4e37a3663b3dcfb9a205b9609e3f561;hp=7c953c1a23ba10d364a389097ba29d90c75d8155;hpb=4c9eba1feb11adf189bceb4001c425e641f0b56a;p=debian%2Famanda diff --git a/perl/Makefile.am b/perl/Makefile.am index 7c953c1..cdf7eb1 100644 --- a/perl/Makefile.am +++ b/perl/Makefile.am @@ -526,7 +526,7 @@ EXTRA_DIST += Amanda/Application/Zfs.pm if WANT_CYGWIN_COPY_PERL_DLL amperldirauto="$(DESTDIR)$(amperldir)/auto/Amanda" install-data-hook: - @for cygdll in $(amperldirauto)/bin/cyg*.dll; do \ + @for cygdll in $(wildcard $(amperldirauto)/bin/cyg*.dll); do \ destfname=`echo $$cygdll|sed 's!/bin/cyg\([^.]*\).dll!/\1/\1.dll!'`; \ cp "$$cygdll" "$$destfname"; \ done