PERFORCE change 101549 for review
Gabor Kovesdan
gabor at FreeBSD.org
Fri Jul 14 13:43:22 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=101549
Change 101549 by gabor at gabor_spitfire on 2006/07/14 13:42:37
Make security report work with DESTDIR.
Affected files ...
.. //depot/projects/soc2006/gabor_ports/Mk/bsd.port.mk#26 edit
Differences ...
==== //depot/projects/soc2006/gabor_ports/Mk/bsd.port.mk#26 (text+ko) ====
@@ -3872,7 +3872,7 @@
# 5. world-writable files/dirs
#
-@${RM} -f ${WRKDIR}/.PLIST.setuid ${WRKDIR}/.PLIST.writable ${WRKDIR}/.PLIST.objdump; \
- ${AWK} -v prefix='${PREFIX}' ' \
+ ${AWK} -v prefix='${DESTDIR}${PREFIX}' ' \
match($$0, /^@cwd /) { prefix = substr($$0, RSTART + RLENGTH); if (prefix == "/") prefix=""; next; } \
/^@/ { next; } \
/^\// { print; next; } \
More information about the p4-projects
mailing list