diff options
author | Stefan Weil <weil@mail.berlios.de> | 2010-12-18 17:34:26 +0100 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-12-18 18:58:25 +0000 |
commit | 5d6b423c5cd6f9dfac30959ff1d5c088996719c3 (patch) | |
tree | c610138b988fedcd780feb56310498fe3af37cae /target-ppc/exec.h | |
parent | 86d1c3887f8665204e2c7454003ac71a6a52e806 (diff) |
win32: Fix CRLF problem in make_device_config.sh
QEMU source code with CRLF line endings
which is quite common on windows hosts
fails with current make_device_config.sh.
The awk script gets the name of the included
file with \r, so instead of pci.mak it will
search for pci.mak\r which of course does
not work.
Fix this by removing any \r.
v2:
Avoid using sub() and \r with awk because they are unsupported
on some platforms. Use tr to remove \r. This new solution
improves portability and was suggested by Paolo Bonzini.
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Acked-by: Andreas Färber <andreas.faerber@web.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-ppc/exec.h')
0 files changed, 0 insertions, 0 deletions