Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dos2unix & chmod 755 delete.sh - best script ever
- Loading branch information
Daz Jones
committed
Jan 13, 2013
1 parent
d1051a8
commit 5804693
Showing
1 changed file
with
19 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |