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
This commit is contained in:
xq2005 2013-05-08 08:25:56 +00:00
parent b44063e744
commit cdb5b59df5

View File

@ -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