build ubutnu packages for prega

This commit is contained in:
xq2005 2013-10-10 02:56:28 -07:00
parent 3c5b618ff0
commit 47200ff1c8

View File

@ -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