summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/buildzip.pl7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/buildzip.pl b/tools/buildzip.pl
index 6d25a01f8f..3c4410a172 100755
--- a/tools/buildzip.pl
+++ b/tools/buildzip.pl
@@ -681,10 +681,11 @@ $year+=1900;
681sub runone { 681sub runone {
682 my ($target, $fonts)=@_; 682 my ($target, $fonts)=@_;
683 683
684 # in the app the the layout is different (no .rockbox, but bin/lib/share)
685 $app = ($modelname eq "application"); 684 $app = ($modelname eq "application");
686 unless ($app) { 685
687 #rbdir starts with '/', strip it 686 # Strip the leading / from $rbdir unless we are installing an application
687 # build - the layout is different (no .rockbox, but bin/lib/share)
688 unless ($app && $install) {
688 $rbdir = substr($rbdir, 1); 689 $rbdir = substr($rbdir, 1);
689 } 690 }
690 691