summaryrefslogtreecommitdiff
path: root/tools/buildzip.pl
diff options
context:
space:
mode:
authorTeruaki Kawashima <teru@rockbox.org>2010-12-17 11:41:43 +0000
committerTeruaki Kawashima <teru@rockbox.org>2010-12-17 11:41:43 +0000
commitb03b891ab9414477340336829986a3e7dd2e3335 (patch)
tree34b79e31b5ece8ec39ac921af95d419e3764d6a2 /tools/buildzip.pl
parent482b45b2cb4366ebf58212804bc587bef9e0278d (diff)
fix that make install fails on Cygwin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28848 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/buildzip.pl')
-rwxr-xr-xtools/buildzip.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/buildzip.pl b/tools/buildzip.pl
index a3c0172773..de7fd90e79 100755
--- a/tools/buildzip.pl
+++ b/tools/buildzip.pl
@@ -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;
}