]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* test mod_md, try new gopath first, subshell go install cd
authorStefan Eissing <icing@apache.org>
Fri, 29 Oct 2021 14:39:46 +0000 (14:39 +0000)
committerStefan Eissing <icing@apache.org>
Fri, 29 Oct 2021 14:39:46 +0000 (14:39 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1894617 13f79535-47bb-0310-9956-ffa450edef68

test/travis_run_linux.sh

index 7998affec84c7ecaadbcdf1c4f530ce35c72b910..9a7a3aec7c3bf21df6510ef88bb87ea69ad73fa8 100755 (executable)
@@ -177,9 +177,9 @@ if ! test -v SKIP_TESTING; then
         export GOROOT=/usr/lib/go-1.14
         export GOPATH=${PREFIX}/gocode
         mkdir -p "${GOPATH}"
-        export PATH="${PATH}:${GOROOT}/bin:${GOPATH}/bin"
+        export PATH="${GOROOT}/bin:${GOPATH}/bin:${PATH}"
         go get -u github.com/letsencrypt/pebble/...
-        cd $GOPATH/src/github.com/letsencrypt/pebble && go install ./...
+        (cd $GOPATH/src/github.com/letsencrypt/pebble && go install ./...)
 
         py.test-3 test/modules/md
         RV=$?