X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Ftrex%2Ftrex_installer.sh;h=c0012a18cfbd4c9149cea11a61e418a606426d74;hb=1ef49b2e3ab7a08cbe17ae89f3e3e48fd14aee27;hp=86c5c9b00e1ee6433b697e545117073cb7aad417;hpb=4efd01a4e2c5995d53d86f4da7c7e64a603f719b;p=csit.git diff --git a/resources/tools/trex/trex_installer.sh b/resources/tools/trex/trex_installer.sh index 86c5c9b00e..c0012a18cf 100755 --- a/resources/tools/trex/trex_installer.sh +++ b/resources/tools/trex/trex_installer.sh @@ -1,6 +1,6 @@ #!/bin/sh -TREX_VERSION="2.28" +TREX_VERSION=$1 TREX_DOWNLOAD_REPO="https://github.com/cisco-system-traffic-generator/trex-core/archive/" TREX_DOWNLOAD_PACKAGE="v${TREX_VERSION}.zip" @@ -34,4 +34,3 @@ test $? -eq 0 || exit 1 cd ${TREX_INSTALL_DIR}/linux_dpdk/ && ./b configure && ./b build || exit 1 cd ${TREX_INSTALL_DIR}/scripts/ko/src && make && make install || exit 1 -