]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
suppress unwanted shell expansion
authorBVK Chaitanya <bvk.groups@gmail.com>
Thu, 22 Jul 2010 21:27:02 +0000 (02:57 +0530)
committerBVK Chaitanya <bvk.groups@gmail.com>
Thu, 22 Jul 2010 21:27:02 +0000 (02:57 +0530)
tests/util/grub-shell.in

index 2cd2561315ccd439649a2e97cf9339eebe1278c4..3ad658438bd0c5a0a8c49452b77b0fff1c2347dc 100644 (file)
@@ -95,7 +95,7 @@ done
 if [ "x${source}" = x ] ; then
     tmpfile=`mktemp`
     while read REPLY; do
-       echo $REPLY >> ${tmpfile}
+       echo "$REPLY" >> ${tmpfile}
     done
     source=${tmpfile}
 fi