Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149842102
D52779.1791016393.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
699 B
Referenced Files
None
Subscribers
None
D52779.1791016393.diff
View Options
diff --git a/Tools/scripts/git-diff-ports.sh b/Tools/scripts/git-diff-ports.sh
--- a/Tools/scripts/git-diff-ports.sh
+++ b/Tools/scripts/git-diff-ports.sh
@@ -16,7 +16,7 @@
for dep in git; do
if ! which -s $dep; then
echo "error: the '$dep' dependency is missing"
- if [ $dep == "git" ]; then
+ if [ $dep = "git" ]; then
echo "... please install the 'git' package"
fi
exit 1
@@ -27,10 +27,5 @@
# MAIN
git diff HEAD "$@" |
- grep "^diff " |
- grep -v Mk/ |
- grep -v Tools/ |
- sed -E 's|diff --git a/||; s| .*||; s|([^/]+/[^/]+).*|\1|' |
- grep -v '/Makefile$' |
- sort |
- uniq
+ awk -F / '/^diff/ && $2 !~ /[[:upper:]]/ && $3 !~ /^Makefile/ { print $2 "/" $3 }' |
+ sort -u
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 3, 8:33 AM (8 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30126333
Default Alt Text
D52779.1791016393.diff (699 B)
Attached To
Mode
D52779: Tools/scripts: git-diff-ports
Attached
Detach File
Event Timeline
Log In to Comment