[x264-devel] [PATCH 3/4] configure: remove unneeded POSIX sh incompatible "local" usage
Ethan Sommer
e5ten.arch at gmail.com
Tue Jan 14 18:18:16 CET 2020
---
configure | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/configure b/configure
index d9c62730..280e7d3b 100755
--- a/configure
+++ b/configure
@@ -335,9 +335,9 @@ rm -rf conftest*
# Construct a path to the specified directory relative to the working directory
relative_path() {
- local base="${PWD%/}"
- local path="$(cd "$1" >/dev/null; printf '%s/.' "${PWD%/}")"
- local up=''
+ base="${PWD%/}"
+ path="$(cd "$1" >/dev/null; printf '%s/.' "${PWD%/}")"
+ up=''
while [ "${path#$base/}" = "$path" ]; do
base="${base%/*}"
--
2.25.0
More information about the x264-devel
mailing list