From 71f0fbd1b2d6827fca4cb2e2570619feba89eb10 Mon Sep 17 00:00:00 2001 From: Gregor Jasny Date: Mon, 11 Sep 2023 09:28:34 +0200 Subject: [PATCH] build: resolve aconfigure location --- configure | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure b/configure index ba445cfdca..e737749a67 100755 --- a/configure +++ b/configure @@ -1,5 +1,7 @@ #!/bin/sh -./aconfigure "$@" + +script_dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd -P) +"${script_dir}/aconfigure" "$@" # Note: # if you're looking for the old configure script, it has been renamed