Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177968433
D11368.1795675518.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
848 B
Referenced Files
None
Subscribers
None
D11368.1795675518.diff
View Options
Index: Mk/Scripts/qa.sh
===================================================================
--- Mk/Scripts/qa.sh
+++ Mk/Scripts/qa.sh
@@ -177,11 +177,15 @@
err "Bad symlink '${l#${STAGEDIR}${PREFIX}/}' pointing inside the stage directory"
rc=1
;;
- /*)
+ ${PREFIX}/*|${LOCALBASE}/*)
# Only warn for symlinks within the package.
if [ -e "${STAGEDIR}${link}" ]; then
warn "Bad symlink '${l#${STAGEDIR}}' pointing to an absolute pathname '${link}'"
+ warn "Use a symlink with a relative pathname instead."
fi
+ # Don't stop here, continue with next check.
+ ;&
+ /*)
# Also warn if the symlink exists nowhere.
if [ ! -e "${STAGEDIR}${link}" -a ! -e "${link}" ]; then
warn "Symlink '${l#${STAGEDIR}}' pointing to '${link}' which does not exist in the stage directory or in localbase"
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 26, 6:45 AM (23 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42008039
Default Alt Text
D11368.1795675518.diff (848 B)
Attached To
Mode
D11368: Only complain about absolute symlinks if they are within PREFIX/LOCALBASE.
Attached
Detach File
Event Timeline