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