summaryrefslogtreecommitdiff
path: root/tools/buildzip.pl
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-07-07 18:30:17 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-07-07 18:30:17 +0000
commitf984a65554715e1f1037050402b3611938d63fd8 (patch)
treee567c8c0ed7c468e0bb396de126a161e0f1af0de /tools/buildzip.pl
parentd245d83af58e139bf126835066590e96845ec11c (diff)
buildzip.pl: fix r27310 and r27317
perl string comparison operator is 'eq', not '==' $install needs to be concatenated to $rbdir for comparsion git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27340 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/buildzip.pl')
-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);