1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Index: tools/buildzip.pl
===================================================================
--- tools/buildzip.pl	(revision 27316)
+++ tools/buildzip.pl	(working copy)
@@ -474,7 +474,11 @@
 # 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);