Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177697425
D10548.1795062407.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
558 B
Referenced Files
None
Subscribers
None
D10548.1795062407.diff
View Options
Index: head/Tools/scripts/rmport
===================================================================
--- head/Tools/scripts/rmport
+++ head/Tools/scripts/rmport
@@ -109,7 +109,7 @@
EXPVAR=EXPIRATION_DATE
find -H ${PORTSDIR} -mindepth 3 -maxdepth 3 -name "Makefile*" \
- |xargs grep -H ${EXPVAR} \
+ |xargs grep -H "^[^#]*${EXPVAR}" \
|sed -E "s|${PORTSDIR}/?([^/]+/[^/]+)/Makefile:${EXPVAR}=[[:space:]]*([0-9-]{10})$|\2 \1|g" \
|perl -ne "if ((substr(\$_, 0, 10) cmp '${TODAY}') <= 0) { print(\$_); }" \
|while read expdate catport ; do \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 19, 4:26 AM (6 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41839172
Default Alt Text
D10548.1795062407.diff (558 B)
Attached To
Mode
D10548: Update Tools/scripts/rmport to ignore commented out EXPIRATION_DATE lines
Attached
Detach File
Event Timeline