mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user