Skip to content
Permalink
Browse files

dos2unix & chmod 755 delete.sh - best script ever

  • Loading branch information
Dazzozo committed Jan 13, 2013
1 parent d1051a8 commit 58046932961592bf863d2f10566897f1608d59d0
Showing with 19 additions and 19 deletions.
  1. +19 −19 delete.sh
38 delete.sh 100644 → 100755
@@ -1,19 +1,19 @@
#!/bin/bash

file_list=`find ./kernel/`
echo $file_list > file_list.txt

for file in $file_list
do
#echo "$file"
if [ -d $file ]; then
echo "skip $file"
else
sed -i -e '/BU5D[0-9]\{5\}/d' $file
sed -i -e '/BK4D[0-9]\{5\}/d' $file
sed -i -e '/DTS[0-9]\{13\}/d' $file
#modify for update qualcom 2110 baseline begin
#modify for wifi baseline 20091126 begin
#sed -i -e 's/lxy: //' $file
fi
done
#!/bin/bash

file_list=`find ./kernel/`
echo $file_list > file_list.txt

for file in $file_list
do
#echo "$file"
if [ -d $file ]; then
echo "skip $file"
else
sed -i -e '/BU5D[0-9]\{5\}/d' $file
sed -i -e '/BK4D[0-9]\{5\}/d' $file
sed -i -e '/DTS[0-9]\{13\}/d' $file
#modify for update qualcom 2110 baseline begin
#modify for wifi baseline 20091126 begin
#sed -i -e 's/lxy: //' $file
fi
done

0 comments on commit 5804693

Please sign in to comment.
You can’t perform that action at this time.