From 57fdbb64fd94e42b5cd48730cd84b02000af4830 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Wed, 10 Jun 2015 10:46:25 +0000 Subject: [PATCH] bash: get rid of relative paths in patches. * patch 2.7 doesn't like those. * actually apply patches 34-39. --- app-shells/bash/bash-4.3.39.recipe | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app-shells/bash/bash-4.3.39.recipe b/app-shells/bash/bash-4.3.39.recipe index d0cdd7a8d..86faddf04 100644 --- a/app-shells/bash/bash-4.3.39.recipe +++ b/app-shells/bash/bash-4.3.39.recipe @@ -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'