Skip to content

Commit

Permalink
Fix new dependency logic (checking wrong directory, permissions wrong…
Browse files Browse the repository at this point in the history
… on file).
  • Loading branch information
landley committed Nov 24, 2015
1 parent 2393d39 commit 0119775
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Empty file modified build.sh 100644 → 100755
Empty file.
3 changes: 2 additions & 1 deletion system-image.sh
Expand Up @@ -20,10 +20,11 @@ is_newer()
[ "$(which "${CC_PREFIX}cc")" -nt "$X" ] && return 0
while [ ! -z "$1" ]
do
[ ! -z "$(find "$X" -newer "$X" 2>/dev/null)" ] && return 0
[ ! -z "$(find "$1" -newer "$X" 2>/dev/null)" ] && return 0
shift
done

echo "Keeping $(basename "$X")"
return 1
}

Expand Down

0 comments on commit 0119775

Please sign in to comment.