summaryrefslogtreecommitdiff
path: root/makelabel.sh
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2017-12-19 04:09:02 -0600
committerepoch <epoch@hacking.allowed.org>2017-12-19 04:09:02 -0600
commit8d163157e6f359c355113945a454548f21bbb8d9 (patch)
treec7319909ced23903ec43308e6d5d6b757446033b /makelabel.sh
parent826eff5bb47181cf38e16c6658c7876a3e0b7183 (diff)
downloadhackvr-8d163157e6f359c355113945a454548f21bbb8d9.tar.gz
hackvr-8d163157e6f359c355113945a454548f21bbb8d9.zip
fixed a bug of not using -r in makelabel.sh
Diffstat (limited to 'makelabel.sh')
-rwxr-xr-xmakelabel.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/makelabel.sh b/makelabel.sh
index 123f3a4..dbc984e 100755
--- a/makelabel.sh
+++ b/makelabel.sh
@@ -3,7 +3,7 @@ target="$1"
xoffset=$2
yoffset=$3
zoffset=$4
-while read -N 1 c;do
+while read -rN 1 c;do
name="$(printf "%02x" "'$c")"
if [ "$name" = "0a" ]; then
xoffset=-6