This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat-native.git


The following commit(s) were added to refs/heads/main by this push:
     new 689e33f3c Fix script to run from different directories
     new 196250573 Merge pull request #12 from dsoumis/patch-2
689e33f3c is described below

commit 689e33f3caf9056093e87eda5091e340c7986f81
Author: Dimitrios Soumis <jimsou...@gmail.com>
AuthorDate: Fri Apr 8 13:24:51 2022 +0300

    Fix script to run from different directories
    
    By adding cd $(dirname $0) , user can run script from external directory 
and not having issues with the actual location of deps directory.
---
 download_deps.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/download_deps.sh b/download_deps.sh
index 2c45d088f..5f103b2b8 100755
--- a/download_deps.sh
+++ b/download_deps.sh
@@ -3,6 +3,8 @@
 # Small script to get a recent openssl, with npn support
 # Will run configure and build_libs to generate the .s files
 
+cd $(dirname $0)
+
 SSL=openssl-1.1.1n.tar.gz
 APR=apr-1.7.0.tar.gz
 mkdir -p deps


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to