aboutsummaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2022-09-27 18:55:36 +0200
committerCem Keylan <cem@ckyln.com>2022-09-27 18:55:36 +0200
commita1335d80c1e4b676c2c4d84195bb95fcea6d4791 (patch)
tree63fba704049b5dad214c4611fcb6b5ee60358410 /extra
parent74964d7dbe2a119f0fa6ee5744f0dea937023424 (diff)
downloadrepository-a1335d80c1e4b676c2c4d84195bb95fcea6d4791.tar.gz
bash: lint
Diffstat (limited to 'extra')
-rwxr-xr-xextra/bash/build2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/bash/build b/extra/bash/build
index 964fa339..ff66c110 100755
--- a/extra/bash/build
+++ b/extra/bash/build
@@ -1,7 +1,7 @@
#!/bin/sh -e
bash_maj=${2%%.*}
-bash_min=${2%.p*} bash_min=${bash_min#$bash_maj.}
+bash_min=${2%.p*} bash_min=${bash_min#"$bash_maj."}
for patch in "bash$bash_maj$bash_min-"0??; do
[ -f "$patch" ] && patch -p0 < "$patch"
done