fix that make install fails on Cygwin.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28848 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Teruaki Kawashima 2010-12-17 11:41:43 +00:00
parent 482b45b2cb
commit b03b891ab9

View file

@ -126,7 +126,7 @@ sub make_install {
die "ERROR: No PREFIX given\n"
}
if ((!$app) && $src && (abs_path($bindir) eq abs_path($src))) {
if ((!$app) && -e $bindir && -e $src && (abs_path($bindir) eq abs_path($src))) {
return 1;
}