summaryrefslogtreecommitdiffstats
path: root/rules/host-pelts.make
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2006-05-17 16:59:34 +0000
committerRobert Schwebel <r.schwebel@pengutronix.de>2006-05-17 16:59:34 +0000
commitb8162e5b880ec80574d4f5bff11baa39624840c1 (patch)
tree0e11d639ebfc805b46d2db1008375b240a92e0fd /rules/host-pelts.make
parentf63d1648ec01528863586009bcd13e793170bdb8 (diff)
downloadptxdist-b8162e5b880ec80574d4f5bff11baa39624840c1.tar.gz
ptxdist-b8162e5b880ec80574d4f5bff11baa39624840c1.tar.xz
added dupe detection
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-0.10-trunk@5502 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/host-pelts.make')
-rw-r--r--rules/host-pelts.make8
1 files changed, 6 insertions, 2 deletions
diff --git a/rules/host-pelts.make b/rules/host-pelts.make
index cff59a025..5761828b4 100644
--- a/rules/host-pelts.make
+++ b/rules/host-pelts.make
@@ -98,8 +98,12 @@ $(STATEDIR)/host-pelts.install: $(host-pelts_install_deps_default)
@echo
@if [ -d "$(PTXDIST_WORKSPACE)/testsuite" ]; then \
for tool in `find $(PTXCONF_PREFIX)/lib/$(HOST-PELTS)/testsuite -maxdepth 1 -mindepth 1 -type d`; do \
- echo "`basename $$tool`"; \
- ln -sf $$tool $(PTXDIST_WORKSPACE)/testsuite/; \
+ if [ ! -e "$(PTXDIST_WORKSPACE)/testsuite/`basename $$tool`" ]; then \
+ echo "`basename $$tool`"; \
+ ln -sf $$tool $(PTXDIST_WORKSPACE)/testsuite/; \
+ else \
+ echo "`basename $$tool` (omitted)"; \
+ fi; \
done; \
fi
@echo