Permalink
Browse files

Final bash patch.

  • Loading branch information...
1 parent 8b85bcd commit a23fb9a1235fe9af4df1e19efb6423309be0ba29 @wayneeseguin wayneeseguin committed Sep 25, 2014
Showing with 5 additions and 5 deletions.
  1. +5 −5 bash/shell/functions
View
@@ -1,12 +1,12 @@
#!/bin/sh
bash_patch() {
- local _patch _patches
+ local -a _patches
+ local _patch
_patches=($(curl -s "ftp://ftp.gnu.org/gnu/bash/bash-${package_version}-patches/" | awk '!/sig/{print $NF}' | sort))
for _patch in ${_patches[@]}
- do
- echo "${_patch}: "
- curl -s "ftp://ftp.gnu.org/gnu/bash/bash-${package_version}-patches/${_patch}" | patch -p0
+ do
+ echo "${_patch}:"
+ curl -s "https://ftp.gnu.org/gnu/bash/bash-${package_version}-patches/${_patch}" | patch -p0
done
}
-

0 comments on commit a23fb9a

Please sign in to comment.