tools/build: remove usage of sed -i
authorRoger Pau Monne <roger.pau@citrix.com>
Thu, 24 Mar 2016 17:05:13 +0000 (18:05 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 24 Mar 2016 17:09:54 +0000 (17:09 +0000)
commit0d42d461c21685258ac9c17bec7eaeb9ac2fce4c
treec3ea792a77ab29aaed7bedd34fd3c435a19c7d59
parent3ea17fff54820255dec24119fdcec5225f6a7896
tools/build: remove usage of sed -i

The "-i" sed option is not POSIX compatible [0], remove it's usage and
instead create yet another temporary intermediate file.

[0] http://pubs.opengroup.org/onlinepubs/9699919799/utilities/sed.html

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/include/xen-foreign/Makefile