qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL 5/6] po/Makefile: Modern shell scripting (use $() ins


From: Thomas Huth
Subject: [Qemu-devel] [PULL 5/6] po/Makefile: Modern shell scripting (use $() instead of ``)
Date: Wed, 24 Oct 2018 10:52:07 +0100

From: Mao Zhongyi <address@hidden>

Various shell files contain a mix between obsolete ``
and modern $(); It would be nice to convert to using $()
everywhere.

Signed-off-by: Mao Zhongyi <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>
Signed-off-by: Thomas Huth <address@hidden>
---
 po/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/po/Makefile b/po/Makefile
index e47e262..c041f4c 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -36,7 +36,7 @@ clean:
 
 install: $(OBJS)
        for obj in $(OBJS); do \
-           base=`basename $$obj .mo`; \
+           base=$$(basename $$obj .mo); \
            $(INSTALL) -d $(DESTDIR)$(prefix)/share/locale/$$base/LC_MESSAGES; \
            $(INSTALL) -m644 $$obj 
$(DESTDIR)$(prefix)/share/locale/$$base/LC_MESSAGES/qemu.mo; \
        done
-- 
1.8.3.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]