]> git.proxmox.com Git - mirror_qemu.git/commitdiff
po/Makefile: Modern shell scripting (use $() instead of ``)
authorMao Zhongyi <maozhongyi@cmss.chinamobile.com>
Mon, 22 Oct 2018 08:48:24 +0000 (16:48 +0800)
committerThomas Huth <thuth@redhat.com>
Wed, 24 Oct 2018 06:39:10 +0000 (07:39 +0100)
Various shell files contain a mix between obsolete ``
and modern $(); It would be nice to convert to using $()
everywhere.

Signed-off-by: Mao Zhongyi <maozhongyi@cmss.chinamobile.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
po/Makefile

index e47e262ee668ef728651a323889e8dcdf0e8d8cc..c041f4c858ee26866d2a20e67e200fd5e79b4e3b 100644 (file)
@@ -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