aboutsummaryrefslogtreecommitdiffstats
path: root/hxtool
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-29 10:50:43 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-29 10:50:43 +0000
commit004efc967ba93b9c3b59aef9e3fc63019fd60244 (patch)
tree24c5174f95f52e6f08221f7557e692d42d61903a /hxtool
parentfb21ced72d082334a609ee55ec01d9f215bfacce (diff)
Fix hxtool eating backslash sequences for sh != bash
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6946 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hxtool')
-rw-r--r--hxtool2
1 files changed, 1 insertions, 1 deletions
diff --git a/hxtool b/hxtool
index 49b722b6f..885abe222 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