libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 9c22b66afdccf6ca6e3ba69886a6e7ff60c48c67
parent 8bb481f66e67f9369bfe62eb236ac1c3ca3bb550
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Thu, 28 Dec 2023 09:14:51 +0300

bootstrap: fixed fallback detection of sources dir

Diffstat:
Mbootstrap | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bootstrap b/bootstrap @@ -12,7 +12,7 @@ if test X"`dirname / 2>/dev/null`" = X"/"; then bs_scrdir=`dirname $0` else case $0 in - */*) bs_scrdir=`echo $0 | ${SED-sed} -n -e 's|/.*$||p'` ;; + */*) bs_scrdir=`echo $0 | ${SED-sed} -n -e 's|/[^/]*$||p'` ;; *) bs_scrdir='.' ;; esac fi