From 47200ff1c87425bddd9a27cf4a29a927cdd1730e Mon Sep 17 00:00:00 2001 From: xq2005 Date: Thu, 10 Oct 2013 02:56:28 -0700 Subject: [PATCH] build ubutnu packages for prega --- build-ubunturepo | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/build-ubunturepo b/build-ubunturepo index 2829edeb2..482466a8f 100755 --- a/build-ubunturepo +++ b/build-ubunturepo @@ -218,6 +218,15 @@ then done find ../../$package_dir_name/* ! -name *.deb | xargs rm -f + else + if [ "$REL" = "xcat-core" ];then + git_flag=1 + REL=`git rev-parse --abbrev-ref HEAD` + if [ "$REL" = "master" ]; then + REL="devel" + fi + fi + package_dir_name=debs$REL fi if [ "$PROMOTE" = 1 ]; then