env
echo "*****"
-if [ ! -d /srv/ceph-build ] ; then
- echo "Build tools are not installed"
- exit 1
-fi
-bindir=/srv/ceph-build
vers=`cat ./dist/version`
# create a release directory for ceph-build tools
echo "Building RPMs"
-
# The below contents ported from /srv/ceph-build/build_rpms.sh ::
# $bindir/build_rpms.sh ./release $vers
#
releasedir="./release"
cephver=$vers
-
-bindir=`dirname $0`
-echo "$bindir" | grep -v -q '^/' && bindir=`pwd`"/$bindir"
-
# Contents below ported from /srv/ceph-build/get_rpm_dist.sh
# dist=`$bindir/get_rpm_dist.sh`
echo done
-
#Collect Artifacts
mkdir -p dist/rpm/${DIST}
mv release/${vers}/rpm/*/SRPMS ./dist/rpm/${DIST}/.