summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/buildzip.pl6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/buildzip.pl b/tools/buildzip.pl
index f0a2c6a030..36af2b31f3 100755
--- a/tools/buildzip.pl
+++ b/tools/buildzip.pl
@@ -474,7 +474,11 @@ $year+=1900;
# made once for all targets
sub runone {
my ($target, $fonts)=@_;
- my $samedir = abs_path($install) == abs_path($rbdir);
+ my $samedir=0;
+
+ if($install) {
+ $samedir = abs_path($install) == abs_path($rbdir);
+ }
# build a full install .rockbox ($rbdir) directory
buildzip($target, $fonts);