summaryrefslogtreecommitdiff
path: root/Makefile.distrib
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2003-09-11 17:03:47 +0000
committermichelou <michelou@epfl.ch>2003-09-11 17:03:47 +0000
commit499216593cf14cd504eeea5ace995cecdea8a5fe (patch)
tree048dc16d1d0063a485bb2186320e89ba1bb96cfc /Makefile.distrib
parent3029d91bf2cb7787b390dd77c7973fd6ff339ad1 (diff)
downloadscala-499216593cf14cd504eeea5ace995cecdea8a5fe.tar.gz
scala-499216593cf14cd504eeea5ace995cecdea8a5fe.tar.bz2
scala-499216593cf14cd504eeea5ace995cecdea8a5fe.zip
- corrected test condition for locales in 'ia-b...
- corrected test condition for locales in 'ia-build' rule
Diffstat (limited to 'Makefile.distrib')
-rw-r--r--Makefile.distrib2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.distrib b/Makefile.distrib
index 6aa1c3cdf8..36bd246deb 100644
--- a/Makefile.distrib
+++ b/Makefile.distrib
@@ -199,7 +199,7 @@ ia-build :
$(INSTALL) -m 755 -d $(IA_BUILD_PREFIX)
$(INSTALL) -m 644 -p $(IA_PROJECTFILE) $(IA_BUILD_PREFIX)
$(INSTALL) -m 755 -d $(IA_BUILD_LOCALESDIR)
- @for locale in "" `$(FIND) $(IA_CONFIG_LOCALESDIR)/* -type d -exec $(BASENAME) {} \;`; do \
+ @for locale in "" `ls -d $(IA_CONFIG_LOCALESDIR)/?? | $(XARGS) -n 1 $(BASENAME)`; do \
if [ -z "$$locale" ]; then continue; fi; \
$(INSTALL) -m 644 -p $(IA_CONFIG_LOCALESDIR)/"$$locale"/$(IA_CUSTOMFILE) \
$(IA_BUILD_LOCALESDIR)/$(IA_CUSTOMFILE)"_$$locale"; \