summaryrefslogtreecommitdiff
path: root/tests/cp
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-11-28 14:05:29 +0000
committerJim Meyering <jim@meyering.net>2001-11-28 14:05:29 +0000
commit6dd490fa03c63ccf3b17befe44d37f882888f861 (patch)
tree548023faef9ae243c62940d6cc5d41be29251ab5 /tests/cp
parentdec4961f11357af9ebdef2ff11c50cb3afc5951f (diff)
downloadcoreutils-6dd490fa03c63ccf3b17befe44d37f882888f861.tar.xz
.
Diffstat (limited to 'tests/cp')
-rw-r--r--tests/cp/Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/cp/Makefile.in b/tests/cp/Makefile.in
index f1ce1b438..0ee4d460f 100644
--- a/tests/cp/Makefile.in
+++ b/tests/cp/Makefile.in
@@ -48,6 +48,7 @@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
+install_sh_DATA = $(install_sh) -c -m 644
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@
@@ -208,7 +209,7 @@ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES)
@for file in $(DISTFILES); do \
- if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
$(mkinstalldirs) "$(distdir)/$$dir"; \