diff --git a/build-ubunturepo b/build-ubunturepo index c9774980a..44eee4fb3 100755 --- a/build-ubunturepo +++ b/build-ubunturepo @@ -260,7 +260,7 @@ __EOF__ fi # Decide whether to upload or not - if [ -n "$UP" ] && [ "$UP" == 0 ]; then + if [ "$UP" != 1 ]; 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 [ -n "$UP" ] && [ "$UP" == 0 ];then + if [ "$UP" != 1 ];then echo "No need to upload the dep packages" cd $old_pwd exit 0