diff options
Diffstat (limited to 'ci/utility/intel_cmt_cat_build_install_rpm.sh')
-rwxr-xr-x | ci/utility/intel_cmt_cat_build_install_rpm.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ci/utility/intel_cmt_cat_build_install_rpm.sh b/ci/utility/intel_cmt_cat_build_install_rpm.sh index a04d0a08..ba6bec07 100755 --- a/ci/utility/intel_cmt_cat_build_install_rpm.sh +++ b/ci/utility/intel_cmt_cat_build_install_rpm.sh @@ -22,14 +22,14 @@ bash $DIR/check_git_repo.sh $CMTCAT_DIR $CMTCAT_REPO if [[ $? != 0 ]] then rm -rf $CMTCAT_DIR - git clone --branch $CMTCAT_BRANCH $CMTCAT_REPO $CMTCAT_DIR + git clone $CMTCAT_REPO $CMTCAT_DIR else cd $CMTCAT_DIR git reset HEAD --hard git pull - git checkout -f $CMTCAT_BRANCH fi cd $CMTCAT_DIR +git checkout -b intel_rdt $CMTCAT_BRANCH wget https://github.com/01org/intel-cmt-cat/archive/${VERSION}.tar.gz --directory-prefix=$CMTCAT_DIR mv $CMTCAT_DIR/${VERSION}.tar.gz $RPM_WORKDIR/SOURCES/ rpmbuild --define "_topdir $RPM_WORKDIR" -bb $CMTCAT_DIR/rpm/intel-cmt-cat.spec |