From 63471a950cd7daa95cf3d8128db7b3925023a3c3 Mon Sep 17 00:00:00 2001 From: jiahao Date: Sat, 16 Oct 2021 09:40:38 +0800 Subject: [PATCH] tests: minor tweaks to chdir. --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 52c23d8..a827666 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,7 +47,7 @@ linux-s390x: &linux-s390x - sudo ln -s /usr/bin/make /usr/bin/gmake script: - util/mirror-tarballs > build.log 2>&1 || (cat build.log && exit 1) - - cd openresty-* + - cd "openresty-$(./util/ver)" - ./configure --prefix=$OPENRESTY_PREFIX --with-cc-opt="-I$PCRE_INC -I$OPENSSL_INC" --with-ld-opt="-L$PCRE_LIB -L$OPENSSL_LIB -Wl,-rpath,$PCRE_LIB:$OPENSSL_LIB" --with-pcre-jit --with-http_ssl_module --with-debug -j$JOBS > build.log 2>&1 || (cat build.log && exit 1) - make -j$JOBS > build.log 2>&1 || (cat build.log && exit 1) - sudo make install > build.log 2>&1 || (cat build.log && exit 1) @@ -86,7 +86,7 @@ linux-ppc64le: &linux-ppc64le - sudo ln -s /usr/bin/make /usr/bin/gmake script: - util/mirror-tarballs > build.log 2>&1 || (cat build.log && exit 1) - - cd openresty-* + - cd "openresty-$(./util/ver)" - ./configure --prefix=$OPENRESTY_PREFIX --with-cc-opt="-I$PCRE_INC -I$OPENSSL_INC" --with-ld-opt="-L$PCRE_LIB -L$OPENSSL_LIB -Wl,-rpath,$PCRE_LIB:$OPENSSL_LIB" --with-pcre-jit --with-http_ssl_module --with-debug -j$JOBS > build.log 2>&1 || (cat build.log && exit 1) - make -j$JOBS > build.log 2>&1 || (cat build.log && exit 1) - sudo make install > build.log 2>&1 || (cat build.log && exit 1) @@ -147,7 +147,7 @@ install: script: - util/mirror-tarballs > build.log 2>&1 || (cat build.log && exit 1) - - cd openresty-* + - cd "openresty-$(./util/ver)" - ./configure --prefix=$OPENRESTY_PREFIX --with-cc-opt="-I$PCRE_INC -I$OPENSSL_INC" --with-ld-opt="-L$PCRE_LIB -L$OPENSSL_LIB -Wl,-rpath,$PCRE_LIB:$OPENSSL_LIB" --with-pcre-jit --with-http_ssl_module --with-debug -j$JOBS > build.log 2>&1 || (cat build.log && exit 1) - make -j$JOBS > build.log 2>&1 || (cat build.log && exit 1) - sudo make install > build.log 2>&1 || (cat build.log && exit 1)