[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
- [Qemu-devel] [PULL 0/6] qtest, Makefiles and shell script improvements, Thomas Huth, 2018/10/24
- [Qemu-devel] [PULL 1/6] tests/migration-test: Disable s390x test when running with TCG, Thomas Huth, 2018/10/24
- [Qemu-devel] [PULL 2/6] hw/core: Move null-machine into the common-obj list, Thomas Huth, 2018/10/24
- [Qemu-devel] [PULL 3/6] configs: Add a CONFIG_SMC37C669 switch for the "smc37c669-superio" device, Thomas Huth, 2018/10/24
- [Qemu-devel] [PULL 4/6] debian-bootstrap.pre: Modern shell scripting (use $() instead of ``), Thomas Huth, 2018/10/24
- [Qemu-devel] [PULL 5/6] po/Makefile: Modern shell scripting (use $() instead of ``),
Thomas Huth <=
- [Qemu-devel] [PULL 6/6] configure: Provide option to explicitly disable AVX2, Thomas Huth, 2018/10/24
- Re: [Qemu-devel] [PULL 0/6] qtest, Makefiles and shell script improvements, Peter Maydell, 2018/10/24