Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
davidar committed Jun 1, 2024
1 parent 3262afc commit 9dcccda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/toybox/scripts/make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ DOTPROG=.
# This is a parallel version of: do_loudly $BUILD lib/*.c $TOYFILES $LINK

# Build all if oldest generated/obj file isn't newer than all header files.
[ -d "$GENDIR"/obj/] && X="$(ls -1t "$GENDIR"/obj/* 2>/dev/null | tail -n 1)"
[ -d "$GENDIR"/obj/ ] && X="$(ls -1t "$GENDIR"/obj/* 2>/dev/null | tail -n 1)"
if [ ! -e "$X" ] || [ -n "$(find toys -name "*.h" -newer "$X")" ]
then
rm -rf "$GENDIR"/obj && mkdir -p "$GENDIR"/obj || exit 1
Expand Down

0 comments on commit 9dcccda

Please sign in to comment.