diff options
Diffstat (limited to 'tools/buildzip.pl')
-rwxr-xr-x | tools/buildzip.pl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/buildzip.pl b/tools/buildzip.pl index 0d8f7117a5..2337dbe729 100755 --- a/tools/buildzip.pl +++ b/tools/buildzip.pl | |||
@@ -214,6 +214,7 @@ GetOptions ( 'r|root=s' => \$ROOT, | |||
214 | 'install=s' => \$install, # install destination | 214 | 'install=s' => \$install, # install destination |
215 | 'rbdir:s' => \$rbdir, # If we want to put in a different directory | 215 | 'rbdir:s' => \$rbdir, # If we want to put in a different directory |
216 | 'l|link' => \$mklinks, # If we want to create links instead of copying files | 216 | 'l|link' => \$mklinks, # If we want to create links instead of copying files |
217 | 'a|app:s' => \$app, # Is this an Application build? | ||
217 | ); | 218 | ); |
218 | 219 | ||
219 | # GetOptions() doesn't remove the params from @ARGV if their value was "" | 220 | # GetOptions() doesn't remove the params from @ARGV if their value was "" |
@@ -681,8 +682,6 @@ $year+=1900; | |||
681 | sub runone { | 682 | sub runone { |
682 | my ($target, $fonts)=@_; | 683 | my ($target, $fonts)=@_; |
683 | 684 | ||
684 | $app = ($modelname eq "application"); | ||
685 | |||
686 | # Strip the leading / from $rbdir unless we are installing an application | 685 | # Strip the leading / from $rbdir unless we are installing an application |
687 | # build - the layout is different (no .rockbox, but bin/lib/share) | 686 | # build - the layout is different (no .rockbox, but bin/lib/share) |
688 | unless ($app && $install) { | 687 | unless ($app && $install) { |