From 242fe69dbd3e70f74b8cc2074393462e1a372694 Mon Sep 17 00:00:00 2001 From: bp-sawyers Date: Sat, 24 Mar 2012 13:27:52 +0000 Subject: [PATCH] Fix bug in buildcore.sh where it would not uppercase the args in some cases git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11980 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- buildcore.sh | 2 +- builddep.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/buildcore.sh b/buildcore.sh index 80f55e759..76e1b25d9 100755 --- a/buildcore.sh +++ b/buildcore.sh @@ -36,7 +36,7 @@ FRS=/home/frs/project/x/xc/xcat # Process cmd line variable assignments, assigning each attr=val pair to a variable of same name for i in $*; do # upper case the variable name - varstring=`echo "$i"|cut -d '=' -f 1|tr [a-z] [A-Z]`=`echo "$i"|cut -d '=' -f 2` + varstring=`echo "$i"|cut -d '=' -f 1|tr '[a-z]' '[A-Z]'`=`echo "$i"|cut -d '=' -f 2` export $varstring done if [ "$VERBOSE" = "1" -o "$VERBOSE" = "yes" ]; then diff --git a/builddep.sh b/builddep.sh index 9913e90ab..90886b986 100755 --- a/builddep.sh +++ b/builddep.sh @@ -238,7 +238,7 @@ if [ "$FRSYUM" != 0 ]; then else links="-l" fi -echo "Uploading RPMs to $YUMDIR/$YUM/xcat-dep/ ..." +echo "Uploading RPMs from xcat-dep to $YUMDIR/$YUM/ ..." while [ $((i+=1)) -le 5 ] && ! rsync $links -ruv --delete xcat-dep $UPLOADUSER,xcat@web.sourceforge.net:$YUMDIR/$YUM/ do : ; done