Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162718607
D54757.id169947.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
524 B
Referenced Files
None
Subscribers
None
D54757.id169947.diff
View Options
diff --git a/tools/build/depend-cleanup.sh b/tools/build/depend-cleanup.sh
--- a/tools/build/depend-cleanup.sh
+++ b/tools/build/depend-cleanup.sh
@@ -237,7 +237,11 @@
{
local buildepoch="$1"
local srcopts="$2"
+ local pwd_res=`pwd -P`
+ if [ "${pwd_res}" = "$OBJTOP" ]; then
+ cd "$OBJTOP"/../
+ fi
# The caller may set CLEANMK in the environment to make target(s) that
# should be invoked instead of just destroying everything. This is
# generally used after legacy/bootstrap tools to avoid over-cleansing
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jul 17, 3:12 AM (10 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35156666
Default Alt Text
D54757.id169947.diff (524 B)
Attached To
Mode
D54757: depend-cleanup.sh: Move pwd to a safer place
Attached
Detach File
Event Timeline
Log In to Comment