Skip to content

Commit

Permalink
Final bash patch.
Browse files Browse the repository at this point in the history
  • Loading branch information
wayneeseguin committed Sep 25, 2014
1 parent 8b85bcd commit a23fb9a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions bash/shell/functions
Original file line number Diff line number Diff line change
@@ -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.