Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153423241
D11368.id30090.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
787 B
Referenced Files
None
Subscribers
None
D11368.id30090.diff
View Options
Index: Mk/Scripts/qa.sh
===================================================================
--- Mk/Scripts/qa.sh
+++ Mk/Scripts/qa.sh
@@ -177,11 +177,14 @@
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}'"
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
Wed, Apr 22, 2:20 AM (14 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31947001
Default Alt Text
D11368.id30090.diff (787 B)
Attached To
Mode
D11368: Only complain about absolute symlinks if they are within PREFIX/LOCALBASE.
Attached
Detach File
Event Timeline
Log In to Comment