diff options
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 |