From 9c6f08c75e0048ce0bbaf9298b3c1dccac04a437 Mon Sep 17 00:00:00 2001 From: xq2005 Date: Sun, 20 Jan 2013 08:34:54 +0000 Subject: [PATCH] build debian dependency packages git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14927 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- build-debianrepo | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/build-debianrepo b/build-debianrepo index c416aaa28..ad86610cc 100755 --- a/build-debianrepo +++ b/build-debianrepo @@ -43,12 +43,6 @@ do done shift $(($OPTIND - 1)) -if [ -z "$c_flag" ] -then - printf "Usage: %s -c [-d ] -l [-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 #"