From d0251192be0811d5508fe436443ab47a93b2bc7a Mon Sep 17 00:00:00 2001 From: sandeep Date: Mon, 2 Aug 2021 12:12:22 +0530 Subject: [PATCH] minor update --- v2/cmd/functional-test/run.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/v2/cmd/functional-test/run.sh b/v2/cmd/functional-test/run.sh index 43eaf7f6..030b2544 100644 --- a/v2/cmd/functional-test/run.sh +++ b/v2/cmd/functional-test/run.sh @@ -1,15 +1,13 @@ #!/bin/bash -currentBranch=$(git branch --show-current) - echo 'Building functional-test binary' go build -echo 'Building Nuclei binary from' $currentBranch 'branch' -go build -o nuclei_$currentBranch ../nuclei +echo 'Building Nuclei binary from current branch' +go build -o nuclei_dev ../nuclei echo 'Installing latest release of nuclei' GO111MODULE=on go get -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei echo 'Starting Nuclei functional test' -./functional-test -main nuclei -dev ./nuclei_$currentBranch -testcases testcases.txt \ No newline at end of file +./functional-test -main nuclei -dev ./nuclei_dev -testcases testcases.txt \ No newline at end of file