From 7c4159cba22d8006f162fd172dcc39aee8653529 Mon Sep 17 00:00:00 2001 From: joey Date: Fri, 24 May 2002 02:41:24 +0000 Subject: [PATCH] * Deal with packages with strange characters in their filenames. Closes: #146017 --- Alien/Package/Deb.pm | 8 +++----- debian/changelog | 7 +++++++ 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/Alien/Package/Deb.pm b/Alien/Package/Deb.pm index cf1de7c..5e7021c 100644 --- a/Alien/Package/Deb.pm +++ b/Alien/Package/Deb.pm @@ -375,7 +375,6 @@ sub prep { export DH_COMPAT=3 PACKAGE=\$(shell dh_listpackages) -PKGFILES=\$(shell ls -1 |grep -v debian) build: dh_testdir @@ -393,10 +392,9 @@ binary-arch: build dh_clean -k dh_installdirs -# Copy the packages's files, if any. -ifneq "\$(PKGFILES)" "" - cp -a \$(PKGFILES) debian/\$(PACKAGE) -endif +# Copy the packages's files. + find . -maxdepth 1 -mindepth 1 -not -name debian -print0 | \\ + xargs -0 -r -i cp -a {} debian/\$(PACKAGE) # # If you need to move files around in debian/\$(PACKAGE) or do some diff --git a/debian/changelog b/debian/changelog index 43bf288..22bf194 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +alien (8.09) unstable; urgency=low + + * Deal with packages with strange characters in their filenames. + Closes: #146017 + + -- Joey Hess Thu, 23 May 2002 22:35:25 -0400 + alien (8.08) unstable; urgency=low * Gerald Turner contributed a .diff file for