changeset 29992:542d8831b5df

Simplify shell command to symlink missing translated source files.
author diego
date Mon, 14 Dec 2009 03:32:12 +0000
parents 79720cbec672
children 20a55579b6e4
files DOCS/xml/Makefile.inc
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/DOCS/xml/Makefile.inc	Mon Dec 14 03:19:01 2009 +0000
+++ b/DOCS/xml/Makefile.inc	Mon Dec 14 03:32:12 2009 +0000
@@ -32,9 +32,7 @@
 
 $(filter-out main.xml, $(patsubst ../en/%,%, $(wildcard ../en/*.xml))):
 	for file in ../en/*.xml ; do \
-	if ! test -r `basename $$file` ; then \
-		ln -s $$file `basename $$file` ; \
-	fi; \
+	test -r `basename $$file` || ln -s $$file `basename $$file` ; \
 	done
 
 .PHONY: all html-chunked html-single xmllint