From 4d452379a72e24a2403c8a6c533965a159741cd5 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Tue, 27 Sep 2022 18:32:16 +0200 Subject: readline: lint --- extra/readline/build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extra/readline') diff --git a/extra/readline/build b/extra/readline/build index 7649424d..ae0b6520 100755 --- a/extra/readline/build +++ b/extra/readline/build @@ -3,7 +3,7 @@ export CFLAGS="$CFLAGS -fPIC" # I am really tired of how bash and readline handles patches. -rl_maj=${2%%.*} rl_min=${2%.p*} rl_min=${rl_min#$rl_maj.} +rl_maj=${2%%.*} rl_min=${2%.p*} rl_min=${rl_min#"$rl_maj."} for patch in "readline$rl_maj$rl_min-"0??; do [ -f "$patch" ] && patch -p0 < "$patch" done -- cgit v1.2.3