summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorblueswir12009-03-29 12:50:43 +0200
committerblueswir12009-03-29 12:50:43 +0200
commit004efc967ba93b9c3b59aef9e3fc63019fd60244 (patch)
tree24c5174f95f52e6f08221f7557e692d42d61903a
parentFix hxtool eating backslash sequences (diff)
downloadqemu-004efc967ba93b9c3b59aef9e3fc63019fd60244.tar.gz
qemu-004efc967ba93b9c3b59aef9e3fc63019fd60244.tar.xz
qemu-004efc967ba93b9c3b59aef9e3fc63019fd60244.zip
Fix hxtool eating backslash sequences for sh != bash
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6946 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--hxtool2
1 files changed, 1 insertions, 1 deletions
diff --git a/hxtool b/hxtool
index 49b722b6fc..885abe222d 100644
--- a/hxtool
+++ b/hxtool
@@ -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