summaryrefslogtreecommitdiff
path: root/tests/dircolors
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/dircolors
parentdec4961f11357af9ebdef2ff11c50cb3afc5951f (diff)
downloadcoreutils-6dd490fa03c63ccf3b17befe44d37f882888f861.tar.xz
.
Diffstat (limited to 'tests/dircolors')
-rw-r--r--tests/dircolors/Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/dircolors/Makefile.in b/tests/dircolors/Makefile.in
index 474e91b08..16cf3a86f 100644
--- a/tests/dircolors/Makefile.in
+++ b/tests/dircolors/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@
@@ -205,7 +206,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"; \