From 0af054755f36b6d509efedb475e673a7ca168654 Mon Sep 17 00:00:00 2001 From: xq2005 Date: Tue, 25 Sep 2012 12:17:50 +0000 Subject: [PATCH] build xcat-core on ubuntu/debian git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13883 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- build-ubunturepo | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build-ubunturepo b/build-ubunturepo index c0975e3f4..9682f41f9 100755 --- a/build-ubunturepo +++ b/build-ubunturepo @@ -127,13 +127,13 @@ then echo "#################################" if [ -d $repo_xcat_core_path ]; then - rm -rdf $repo_xcat_core_path + rm -rf $repo_xcat_core_path fi mkdir -p $repo_xcat_core_path/conf find . -iname '*.deb' -exec mv {} $repo_xcat_core_path \; - rm -rdf debs/ + rm -rf debs/ cd $CMD_PATH rm -rf $repo_xcat_core_path/conf/distributions @@ -209,7 +209,7 @@ then echo "################################" echo "# Creating xcat-dep repository #" echo "################################" - rm -rdf $repo_xcat_dep_path + rm -rf $repo_xcat_dep_path mkdir -p $repo_xcat_dep_path/conf find $xcat_dep_path -iname '*.deb' -exec cp {} $repo_xcat_dep_path \; @@ -258,7 +258,7 @@ fi ### if [ "$d_flag" -a "$a_flag"] if [ -z "$local_flag" ] # delete the temp repo after upload is done then - rm -rdf ./gsa-repo_temp + rm -rf ./gsa-repo_temp fi exit 0