From 3395122098625c9e503c6e1c89a76202c08f192e Mon Sep 17 00:00:00 2001 From: lxoliva Date: Thu, 19 Mar 2009 23:24:16 +0000 Subject: [PATCH] Don't require undefine_macro's macro to be defined to a string. git-svn-id: http://www.fsfla.org/svn/fsfla/software/linux-libre/scripts@4787 559672b5-ba27-0410-b829-e8f1faed8b1b --- deblob-2.6.28 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deblob-2.6.28 b/deblob-2.6.28 index 6bee4bd5d17..9d0e4228cd1 100755 --- a/deblob-2.6.28 +++ b/deblob-2.6.28 @@ -196,9 +196,9 @@ undefine_macro () { macro=$1 repl=$2 msg=$3; shift 3 for f in "$@"; do clean_sed " - s,^#define $macro \"[^\"]*\",/*(DEBLOBBED)*/,; - s,$macro,$repl,g" \ - "$f" "$msg" + s,^#define $macro .*\$,/*(DEBLOBBED)*/,; + s,$macro,$repl,g; +" "$f" "$msg" done } -- 2.31.1