Fix hxtool eating backslash sequences for sh != bash

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6946 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
blueswir1 2009-03-29 10:50:43 +00:00
parent fb21ced72d
commit 004efc967b

2
hxtool
View File

@ -10,7 +10,7 @@ hxtoh()
STEXI*|ETEXI*) flag=$(($flag^1))
;;
*)
test $flag -eq 1 && echo "$str"
test $flag -eq 1 && printf "%s\n" "$str"
;;
esac
done