From 88e689b996fbc85fb77006d2dc6e02f82766c2b9 Mon Sep 17 00:00:00 2001 From: xq2005 Date: Mon, 13 May 2013 08:05:28 +0000 Subject: [PATCH] build perl-xCAT when build xcat package git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16250 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- build-ubunturepo | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build-ubunturepo b/build-ubunturepo index 44eee4fb3..375c0066b 100755 --- a/build-ubunturepo +++ b/build-ubunturepo @@ -172,7 +172,7 @@ then for file in `echo $packages` do file_low=`echo $file | tr '[A-Z]' '[a-z]'` - if grep -q $file $svn_up_log || [ "$BUILDALL" == 1 ]; then + if grep -q $file $svn_up_log || [ "$BUILDALL" == 1 -o "$file" = "perl-xCAT" ]; then rm -f ../../debs/${file_low}_*.deb #only for genesis package rm -f ../../debs/${file_low}-amd64_*.deb @@ -260,7 +260,7 @@ __EOF__ fi # Decide whether to upload or not - if [ "$UP" != 1 ]; then + if [ -n "$UP" ] && [ "$UP" == 0 ]; then echo "No need to upload" cd $old_pwd exit 0 @@ -351,7 +351,7 @@ __EOF__ chgrp xcat $dep_tar_name chmod g+w $dep_tar_name - if [ "$UP" != 1 ];then + if [ -n "$UP" ] && [ "$UP" == 0 ];then echo "No need to upload the dep packages" cd $old_pwd exit 0