* Deal with packages with strange characters in their filenames.

Closes: #146017
This commit is contained in:
joey
2002-05-24 02:41:24 +00:00
parent b0ec57098c
commit 7c4159cba2
2 changed files with 10 additions and 5 deletions

View File

@@ -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