Skip to content

Commit

Permalink
depend-cleanup: Fix test arg
Browse files Browse the repository at this point in the history
-e follows the symlink to see if the file exists. I tested on the wrong
tree, so it appeared to work for me. Change to -h which see if the link
is there or not. The file will never not be a link if present.

Fixes: 42ee30f
Noticed by: Herbert Skuhra
Sponsored by: Netflix
  • Loading branch information
bsdimp committed Dec 14, 2024
1 parent da5aed3 commit 1d69498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/build/depend-cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ clean_dep lib/libcrypt crypt-sha256 c
clean_dep lib/libcrypt crypt-sha512 c

# 20241213 b55f5e1c4ae3 jemalloc: Move generated jemalloc.3 into lib/libc tree
if [ -e "$OBJTOP"/lib/libc/jemalloc.3 ]; then
if [ -h "$OBJTOP"/lib/libc/jemalloc.3 ]; then
# Have to cleanup the jemalloc.3 in the obj tree since make gets
# confused and won't use the one in lib/libc/malloc/jemalloc/jemalloc.3
echo "Removing stale jemalloc.3 object"
Expand Down

0 comments on commit 1d69498

Please sign in to comment.