From 7b8ad658a1c6f2b3961dd9fb29f19bd5ed34d480 Mon Sep 17 00:00:00 2001 From: Shahzad Malik Muzaffar Date: Wed, 7 Mar 2018 14:40:16 +0100 Subject: [PATCH] unset env --- run-pr-tests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run-pr-tests b/run-pr-tests index e3d374861d9e..d60a89d71674 100755 --- a/run-pr-tests +++ b/run-pr-tests @@ -229,7 +229,7 @@ fi CMSSW_COMMIT= if [ "X$CMSDIST_ONLY" == Xfalse ]; then #get the latest commit and mark it as pending - LAST_COMMIT=$($CMS_BOT_DIR/process-pull-request -c -r ${PUB_USER}/cmssw $PULL_REQUEST) + LAST_COMMIT=$(eval $(scram unset -sh); $CMS_BOT_DIR/process-pull-request -c -r ${PUB_USER}/cmssw $PULL_REQUEST) if [ "X${LAST_COMMIT}" = "X" ] ; then pushd $WORKSPACE/$RELEASE_FORMAT/src if [ "X$BRANCH_NAME" = X ]; then