Skip to contentSkip to conversation

[4798] Fix shell quoting.

Qemu-devel Paul Brook 1 participant 1 message Jun 29, 2008

lore
Share & tools
lore

Paul Brook

author
#0 lore raw

Revision: 4798

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4798
Author:   pbrook
Date:     2008-06-29 01:00:34 +0000 (Sun, 29 Jun 2008)

Log Message:
-----------
Fix shell quoting.

Modified Paths:
--------------
trunk/configure

Modified: trunk/configure
===================================================================

configure +2 -2
@@ -1033,14 +1033,14 @@
   echo "#define CONFIG_SLIRP 1" >> $config_h
 fi
 for card in $audio_card_list; do
-    def=CONFIG_`echo $card | tr [:lower:] [:upper:]`
+    def=CONFIG_`echo $card | tr '[:lower:]' '[:upper:]'`
     echo "$def=yes" >> $config_mak
     echo "#define $def 1" >> $config_h
 done
 echo "#define AUDIO_DRIVERS \\" >> $config_h
 for drv in $audio_drv_list; do
     echo "    &${drv}_audio_driver, \\" >>$config_h
-    def=CONFIG_`echo $drv | tr [:lower:] [:upper:]`
+    def=CONFIG_`echo $drv | tr '[:lower:]' '[:upper:]'`
     echo "$def=yes" >> $config_mak
     if test "$drv" == "fmod"; then
         echo "CONFIG_FMOD_LIB=$fmod_lib" >> $config_mak