summaryrefslogtreecommitdiff
path: root/polish/kadu/files/patch-modules_Makefile.in
blob: 5a83bb67c34e1d830069c41911910652ce163238 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- modules/Makefile.in	Tue Oct 11 02:16:57 2005
+++ modules/Makefile.in	Tue Oct 18 19:34:54 2005
@@ -295,7 +295,8 @@
 		if test -d translations; then \
 			cd translations && \
 			for trans in *.ts; do \
-				if [ ! -e $${trans//\ts/qm} ] || test $$trans -nt $${trans//\ts/qm}; then \
+				trans_qm="$$(echo $${trans} | sed -e 's/\.ts$$/\.qm/')"; \
+				if [ ! -e $${trans_qm} ] || test $$trans -nt $${trans_qm}; then \
 					$(QT_LRELEASE_DIR)/lrelease $$trans; \
 				fi; \
 			done && \