upload the building packages to sourceforge by default

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16215 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
xq2005 2013-05-08 08:27:22 +00:00
parent 6fc19c33fc
commit 9b59bb8c1f

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