From cdb5b59df57d2f6a277e2c5a5308fc3d08690867 Mon Sep 17 00:00:00 2001 From: xq2005 Date: Wed, 8 May 2013 08:25:56 +0000 Subject: [PATCH] upload the building packages to sourceforge by default git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16214 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- build-ubunturepo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-ubunturepo b/build-ubunturepo index 44eee4fb3..c9774980a 100755 --- a/build-ubunturepo +++ b/build-ubunturepo @@ -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