X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=perl%2FMakefile.am;fp=perl%2FMakefile.am;h=cdf7eb12c94eceab9e4a2711427dcf4c60fc7daa;hb=949b8910a5e23c4285d0b1aedacfc82a14dc97a5;hp=7c953c1a23ba10d364a389097ba29d90c75d8155;hpb=c6f0a88c567f8536c498f554285aed1f8150da18;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