1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

rename kernel stream to buffer

This commit is contained in:
winlin 2015-09-22 08:48:55 +08:00
parent 495f575ac3
commit a4f51564db
30 changed files with 45 additions and 40 deletions

View file

@ -13,10 +13,15 @@ if [[ $to == '' ]]; then
exit 1
fi
if [[ ! -d src || ! -d ide ]]; then
echo "please execute the script under trunk"
exit 1
fi
echo "from=$from"
echo "to=$to"
files="configure `ls auto` `ls conf` `ls scripts` `find etc -type f` `find ide -type f` `find research -type f` `find src -type f`"
files="configure `ls auto` `ls conf` `ls scripts` `find etc -type f` `find ide -type f|grep -v xcuserdata` `find research -type f|grep -v objs` `find src -type f`"
for file in $files; do
grep -in "$from" $file >/dev/null 2>&1;
if [[ 0 -eq $? ]]; then