summaryrefslogtreecommitdiff
path: root/tests/sha1sum
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-01-18 23:56:32 +0000
committerJim Meyering <jim@meyering.net>2002-01-18 23:56:32 +0000
commit8e7e29d1de6823fc4f4e98c873c58d904a1e7b36 (patch)
tree8d002ab61ab4b4db9c452e3cdb194ccb3f142bd9 /tests/sha1sum
parent96efa91b23b142fa1d1f49a2ccfd97f166a590a3 (diff)
downloadcoreutils-8e7e29d1de6823fc4f4e98c873c58d904a1e7b36.tar.xz
.
Diffstat (limited to 'tests/sha1sum')
-rw-r--r--tests/sha1sum/Makefile.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/sha1sum/Makefile.in b/tests/sha1sum/Makefile.in
index 58287f869..7ac9c7336 100644
--- a/tests/sha1sum/Makefile.in
+++ b/tests/sha1sum/Makefile.in
@@ -208,10 +208,13 @@ distdir: $(DISTFILES)
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"; \
+ dir="/$$dir"; \
+ $(mkinstalldirs) "$(distdir)$$dir"; \
+ else \
+ dir=''; \
fi; \
if test -d $$d/$$file; then \
- cp -pR $$d/$$file $(distdir) \
+ cp -pR $$d/$$file $(distdir)$$dir \
|| exit 1; \
else \
test -f $(distdir)/$$file \