Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
G
gfwlist
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
gfwlist
Commits
20ad060b
Commit
20ad060b
authored
Mar 13, 2009
by
lovelywcm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ZG8gbm90aGluZyBhZnRlciAic3ZuIHVwZGF0ZSIgaWYgbGlzdC50eHQgbm90IG1vZGlmaWVkLgo=
parent
487b6c9e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
sendGFWList.sh
sendGFWList.sh
+9
-4
No files found.
sendGFWList.sh
View file @
20ad060b
...
@@ -37,7 +37,14 @@ do
...
@@ -37,7 +37,14 @@ do
fi
fi
done
done
# get current revision number
svn update
&&
if
[
"
$(
git diff
)
"
==
""
]
;
then
echo
"not modified."
;
exit
0
;
fi
# get self last changed revision number
oriLang
=
$LANG
;
export
LANG
=
"en_US"
;
oriLang
=
$LANG
;
export
LANG
=
"en_US"
;
curRevNum
=
$(
svn info | gawk
'/^Last Changed Rev:/ { print $4 }'
)
;
curRevNum
=
$(
svn info | gawk
'/^Last Changed Rev:/ { print $4 }'
)
;
export
LANG
=
$oriLang
;
export
LANG
=
$oriLang
;
...
@@ -45,12 +52,10 @@ export LANG=$oriLang;
...
@@ -45,12 +52,10 @@ export LANG=$oriLang;
# save local modification
# save local modification
git diff
>
temp.patch
&&
git diff
>
temp.patch
&&
svn update
&&
# get formated author and log information
# get formated author and log information
log
=
$(
svn log
-r
$curRevNum
:HEAD
)
&&
log
=
$(
svn log
-r
$curRevNum
:HEAD
)
&&
log
=
$(
echo
$log
| gawk
-v
RS
=
'------------------------------------------------------------------------'
\
log
=
$(
echo
$log
| gawk
-v
RS
=
'------------------------------------------------------------------------'
\
'NR >
3
{ if (NF > 10) printf "%s:%s;", $3, $NF; }'
)
&&
'NR >
2
{ if (NF > 10) printf "%s:%s;", $3, $NF; }'
)
&&
# convert from base64
# convert from base64
i
=
0
&&
i
=
0
&&
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment