From 510b70b688f80009f879d1717295b1aec94ab469 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sat, 24 May 2014 03:01:11 +0200 Subject: [PATCH] scripts/unpack: remove old and non working support to skip arch specific patches Signed-off-by: Stephan Raue --- scripts/unpack | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/scripts/unpack b/scripts/unpack index eae99191de..2d6f79b527 100755 --- a/scripts/unpack +++ b/scripts/unpack @@ -132,15 +132,8 @@ for i in $PKG_DIR/patches/$PKG_NAME-*.patch \ fi if [ -f "$i" ]; then - PATCH=`basename $i` - PT=`echo $PATCH | sed 's/.*\.\(.*\)$/\1/'` - if [ "$PT" != "patch" -a "$PT" != "$TARGET_ARCH" ]; then - printf "%${BUILD_INDENT}c ${boldyellow}SKIP PATCH${endcolor} ${boldwhite}${PATCH_DESC}${endcolor} $i\n" ' '>&$SILENT_OUT - continue; - else - printf "%${BUILD_INDENT}c ${boldgreen}APPLY PATCH${endcolor} ${boldwhite}${PATCH_DESC}${endcolor} $i\n" ' '>&$SILENT_OUT - cat $i | patch -d `echo "$PKG_BUILD" | cut -f1 -d\ ` -p1 >&$VERBOSE_OUT - fi + printf "%${BUILD_INDENT}c ${boldgreen}APPLY PATCH${endcolor} ${boldwhite}${PATCH_DESC}${endcolor} $i\n" ' '>&$SILENT_OUT + cat $i | patch -d `echo "$PKG_BUILD" | cut -f1 -d\ ` -p1 >&$VERBOSE_OUT fi done