From 381287e45161c08416dc51ca629d96f351e9bb98 Mon Sep 17 00:00:00 2001 From: xq2005 Date: Thu, 10 Oct 2013 02:59:19 -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