[yum-git] test/yum-release-i18n-test.sh

James Antill james at linux.duke.edu
Tue Apr 15 23:01:38 UTC 2008


 test/yum-release-i18n-test.sh |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 7074f5cdc6e2d3a49aa1101841bb2c38820fca34
Author: James Antill <james at and.org>
Date:   Tue Apr 15 19:01:23 2008 -0400

    See, now this is why I hate sh ... so why do I keep doing this to myself

diff --git a/test/yum-release-i18n-test.sh b/test/yum-release-i18n-test.sh
index 242bfb7..8e4eaca 100755
--- a/test/yum-release-i18n-test.sh
+++ b/test/yum-release-i18n-test.sh
@@ -50,28 +50,28 @@ cmd()
   echo $beg_hdr
   echo "Doing: LANG=$lang yum --enablerepo=development $@"
   echo $end_hdr
-  LANG=$lang yum --enablerepo=development $@
+  LANG=$lang yum --enablerepo=development "$@"
 }
 scmd()
 {
   echo $beg_hdr
   echo "Doing: LANG=$lang $SUDO_CMD yum $@"
   echo $end_hdr
-  LANG=$lang $SUDO_CMD yum $@
+  LANG=$lang $SUDO_CMD yum "$@"
 }
 lcmd()
 {
   $LIVNA && echo $beg_hdr
   $LIVNA && echo "Doing: LANG=$lang yum --enablerepo=livna $@"
   $LIVNA && echo $end_hdr
-  $LIVNA && LANG=$lang yum --enablerepo=livna $@
+  $LIVNA && LANG=$lang yum --enablerepo=livna "$@"
 }
 lscmd()
 {
   $LIVNA && echo $beg_hdr
   $LIVNA && echo "Doing: LANG=$lang $SUDO_CMD yum --enablerepo=livna $@"
   $LIVNA && echo $end_hdr
-  $LIVNA && LANG=$lang $SUDO_CMD yum --enablerepo=livna $@
+  $LIVNA && LANG=$lang $SUDO_CMD yum --enablerepo=livna "$@"
 }
 
 tst()



More information about the Yum-cvs-commits mailing list