bash: get rid of relative paths in patches.

* patch 2.7 doesn't like those.
* actually apply patches 34-39.
This commit is contained in:
Jerome Duval
2015-06-10 10:46:25 +00:00
parent d790719d5d
commit 57fdbb64fd

View File

@@ -87,8 +87,9 @@ BUILD_PREREQUIRES="
PATCH()
{
for i in {001..033}; do
patch -p0 < ../../sources-$i/bash43-$i
for i in {001..039}; do
echo "Applying patch $i..."
sed -e "s/\.\.\/bash-4.3\///" ../../sources-$i/bash43-$i | patch -p0
done
# store bash settings under ~/config/settings
find -type f | xargs sed -i -e 's,~/\.,~/config/settings/,g'