qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 9c269f: Makefile: remove bashism


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 9c269f: Makefile: remove bashism
Date: Mon, 07 Apr 2014 10:00:05 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 9c269f6d7bfb81cbbf501576b979831478dac5d9
      
https://github.com/qemu/qemu/commit/9c269f6d7bfb81cbbf501576b979831478dac5d9
  Author: Michael Tokarev <address@hidden>
  Date:   2014-04-07 (Mon, 07 Apr 2014)

  Changed paths:
    M Makefile

  Log Message:
  -----------
  Makefile: remove bashism

When installing modules (when --enable-modules is specified for
./configure), Makefile uses the following construct to replace all
slashes with dashes in module name:

 ${s//\//-}

This is a bash-specific substitution mechanism.  POSIX does not
have it, and some operating systems (for example Debian) does not
implement this construct in default shell (for example dash).

Use more traditional way to perform the substitution: use `tr' tool.

Signed-off-by: Michael Tokarev <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>



reply via email to

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