build debian dependency packages

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14927 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
xq2005 2013-01-20 08:34:54 +00:00
parent 7ec3a97bdc
commit 9c6f08c75e

View File

@ -43,12 +43,6 @@ do
done
shift $(($OPTIND - 1))
if [ -z "$c_flag" ]
then
printf "Usage: %s -c <core_trunk_path> [-d <dep_trunk_path>] -l <local-repo_path> [-a]\n" $(basename $0) >&2
echo "-a Automatic: update only if there's any update on repo"
exit 2
fi
if [ ! -d $xcat_core_path ]
then
printf "%s: No such directory\n" "$xcat_core_path" >&2
@ -89,7 +83,7 @@ then
else
update_core=1
fi
if [ "$update_core" ]
if [ "$c_flag" -a "$update_core" ]
then
echo "###############################"
echo "# Building xcat-core packages #"