bug fix : git clone yardstick repo failed 21/8821/1
authorkubi <jean.gaoliang@huawei.com>
Mon, 1 Feb 2016 06:26:57 +0000 (14:26 +0800)
committerkubi <jean.gaoliang@huawei.com>
Mon, 1 Feb 2016 06:26:57 +0000 (14:26 +0800)
line45: git clone YARDSTICK_REPO $YARDSTICK_REPO_DIR fail

Change-Id: I7f2973b320a30a02264b3f65fb3e1397218a5d9a
Signed-off-by: kubi <jean.gaoliang@huawei.com>
ci/docker/yardstick-ci/run_tests.sh

index 531feac..3b7cea3 100755 (executable)
@@ -42,7 +42,7 @@ git_checkout $RELENG_BRANCH $RELENG_REPO
 echo
 echo "INFO: Updating yardstick -> $YARDSTICK_BRANCH"
 if [ ! -d $YARDSTICK_REPO_DIR ]; then
-    git clone YARDSTICK_REPO $YARDSTICK_REPO_DIR
+    git clone $YARDSTICK_REPO $YARDSTICK_REPO_DIR
 fi
 cd $YARDSTICK_REPO_DIR
 git checkout master && git pull