aboutsummaryrefslogtreecommitdiff
path: root/extra/readline
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2022-09-27 18:32:16 +0200
committerCem Keylan <cem@ckyln.com>2022-09-27 18:32:16 +0200
commit4d452379a72e24a2403c8a6c533965a159741cd5 (patch)
tree8150912530e9cc52250fde0273dc9f3db192a642 /extra/readline
parent452598545790ff0d7efb2215b9877daa810daa38 (diff)
downloadrepository-4d452379a72e24a2403c8a6c533965a159741cd5.tar.gz
readline: lint
Diffstat (limited to 'extra/readline')
-rwxr-xr-xextra/readline/build2
1 files changed, 1 insertions, 1 deletions
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