diff options
author | Cem Keylan <cem@ckyln.com> | 2022-09-27 18:55:36 +0200 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2022-09-27 18:55:36 +0200 |
commit | a1335d80c1e4b676c2c4d84195bb95fcea6d4791 (patch) | |
tree | 63fba704049b5dad214c4611fcb6b5ee60358410 /extra/bash/build | |
parent | 74964d7dbe2a119f0fa6ee5744f0dea937023424 (diff) | |
download | repository-a1335d80c1e4b676c2c4d84195bb95fcea6d4791.tar.gz |
bash: lint
Diffstat (limited to 'extra/bash/build')
-rwxr-xr-x | extra/bash/build | 2 |
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 |