summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAlexandre Oliva <lxoliva@fsfla.org>2008-05-19 00:41:15 +0000
committerAlexandre Oliva <lxoliva@fsfla.org>2008-05-19 00:41:15 +0000
commite45ed0249fa32bcf62f496ed3fa960684bb1353e (patch)
tree5af529e464172b6d6719eb7ab6e4efb21ecf47b7 /scripts
parentdaac49333ed01c7225e4804c310c13bb0b8efa27 (diff)
downloadlinux-libre-raptor-e45ed0249fa32bcf62f496ed3fa960684bb1353e.tar.gz
linux-libre-raptor-e45ed0249fa32bcf62f496ed3fa960684bb1353e.zip
Fix quoting of parentheses in sed commands.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/deblob-2.6.236
-rwxr-xr-xscripts/deblob-2.6.246
-rwxr-xr-xscripts/deblob-2.6.256
3 files changed, 9 insertions, 9 deletions
diff --git a/scripts/deblob-2.6.23 b/scripts/deblob-2.6.23
index 828828e78..8e9efe19a 100755
--- a/scripts/deblob-2.6.23
+++ b/scripts/deblob-2.6.23
@@ -84,7 +84,7 @@ function clean_blob {
function clean_kconfig {
#$1 = filename $2 = things to remove
echo Marking config $2 as depending on NONFREE in $1
- sed "/^config \($2\)\$/{p;i\
+ sed "/^config \\($2\\)\$/{p;i\
depends on NONFREE
d;}" $1 > $1.deblob
check_changed $1
@@ -93,9 +93,9 @@ d;}" $1 > $1.deblob
function clean_mk {
#$1 = config $2 = Makefile name
# We don't clean up Makefiles any more --lxoliva
- # sed -i "/($1)/d" $2
+ # sed -i "/\\($1\\)/d" $2
# check_changed $2
- if sed -n "/($1)/p" $2 | grep . > /dev/null; then
+ if sed -n "/\\($1\\)/p" $2 | grep . > /dev/null; then
:
else
echo $2 does not contain matches for $1
diff --git a/scripts/deblob-2.6.24 b/scripts/deblob-2.6.24
index 9fb289e18..9eef94de5 100755
--- a/scripts/deblob-2.6.24
+++ b/scripts/deblob-2.6.24
@@ -84,7 +84,7 @@ function clean_blob {
function clean_kconfig {
#$1 = filename $2 = things to remove
echo Marking config $2 as depending on NONFREE in $1
- sed "/^config \($2\)\$/{p;i\
+ sed "/^config \\($2\\)\$/{p;i\
depends on NONFREE
d;}" $1 > $1.deblob
check_changed $1
@@ -93,9 +93,9 @@ d;}" $1 > $1.deblob
function clean_mk {
#$1 = config $2 = Makefile name
# We don't clean up Makefiles any more --lxoliva
- # sed -i "/($1)/d" $2
+ # sed -i "/\\($1\\)/d" $2
# check_changed $2
- if sed -n "/($1)/p" $2 | grep . > /dev/null; then
+ if sed -n "/\\($1\\)/p" $2 | grep . > /dev/null; then
:
else
echo $2 does not contain matches for $1
diff --git a/scripts/deblob-2.6.25 b/scripts/deblob-2.6.25
index 751d4db4f..173a73a95 100755
--- a/scripts/deblob-2.6.25
+++ b/scripts/deblob-2.6.25
@@ -84,7 +84,7 @@ function clean_blob {
function clean_kconfig {
#$1 = filename $2 = things to remove
echo Marking config $2 as depending on NONFREE in $1
- sed "/^config \($2\)\$/{p;i\
+ sed "/^config \\($2\\)\$/{p;i\
depends on NONFREE
d;}" $1 > $1.deblob
check_changed $1
@@ -93,9 +93,9 @@ d;}" $1 > $1.deblob
function clean_mk {
#$1 = config $2 = Makefile name
# We don't clean up Makefiles any more --lxoliva
- # sed -i "/($1)/d" $2
+ # sed -i "/\\($1\\)/d" $2
# check_changed $2
- if sed -n "/($1)/p" $2 | grep . > /dev/null; then
+ if sed -n "/\\($1\\)/p" $2 | grep . > /dev/null; then
:
else
echo $2 does not contain matches for $1
OpenPOWER on IntegriCloud