]> Git Repo - qemu.git/commit - Makefile
Makefile: remove bashism
authorMichael Tokarev <[email protected]>
Sat, 5 Apr 2014 14:25:46 +0000 (18:25 +0400)
committerPeter Maydell <[email protected]>
Mon, 7 Apr 2014 14:19:16 +0000 (15:19 +0100)
commit9c269f6d7bfb81cbbf501576b979831478dac5d9
treed546e86a842d8f67f04a944253e70c6f22231554
parentdffacd4654ec8bf2898aed230852154c6ed755ed
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 <[email protected]>
Message-id: 1396707946[email protected]
Signed-off-by: Peter Maydell <[email protected]>
Makefile
This page took 0.02586 seconds and 4 git commands to generate.