aboutsummaryrefslogtreecommitdiffstats
path: root/ci/utility
diff options
context:
space:
mode:
Diffstat (limited to 'ci/utility')
-rwxr-xr-xci/utility/collectd_build_rpm.sh5
-rwxr-xr-xci/utility/intel_cmt_cat_build_install_rpm.sh2
2 files changed, 3 insertions, 4 deletions
diff --git a/ci/utility/collectd_build_rpm.sh b/ci/utility/collectd_build_rpm.sh
index 086aa979..267dc939 100755
--- a/ci/utility/collectd_build_rpm.sh
+++ b/ci/utility/collectd_build_rpm.sh
@@ -18,9 +18,8 @@ source $DIR/package-list.sh
VERSION="VERSION_NOT_SET"
-rm -rf $RPM_WORKDIR
cd $COLLECTD_DIR
-VERSION=$( $COLLECTD_DIR/version-gen.sh | sed "s/\W$//g" )
+VERSION=$( $COLLECTD_DIR/version-gen.sh | sed "s/^\W$//g" )
$COLLECTD_DIR/build.sh
$COLLECTD_DIR/configure
make dist
@@ -37,4 +36,4 @@ sed --regexp-extended \
--expression="s/without_intel_rdt:[0-9]/without_intel_rdt:1/g" \
$COLLECTD_DIR/contrib/redhat/collectd.spec
-rpmbuild --define "_topdir $RPM_WORKDIR" -bb $COLLECTD_DIR/contrib/redhat/collectd.spec \ No newline at end of file
+rpmbuild --define "_topdir $RPM_WORKDIR" -bb $COLLECTD_DIR/contrib/redhat/collectd.spec
diff --git a/ci/utility/intel_cmt_cat_build_install_rpm.sh b/ci/utility/intel_cmt_cat_build_install_rpm.sh
index e91e977b..36cdf379 100755
--- a/ci/utility/intel_cmt_cat_build_install_rpm.sh
+++ b/ci/utility/intel_cmt_cat_build_install_rpm.sh
@@ -16,7 +16,7 @@
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source $DIR/package-list.sh
-VERSION="v0.1.5-1"
+VERSION="v1.0.1"
bash $DIR/check_git_repo.sh $CMTCAT_DIR $CMTCAT_REPO
if [[ $? != 0 ]]