summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMagnus Holmgren <magnushol@gmail.com>2010-07-06 18:15:13 +0000
committerMagnus Holmgren <magnushol@gmail.com>2010-07-06 18:15:13 +0000
commit5de6ddcaa170cce4c0a2cd4b43aa76a4ef7ae175 (patch)
treedf291122c39ebbb20d49399b5dd1abe91c60de73 /tools
parent57484bdf0458ec0f0f0c447b929b128e4b54a294 (diff)
downloadrockbox-5de6ddcaa170cce4c0a2cd4b43aa76a4ef7ae175.tar.gz
rockbox-5de6ddcaa170cce4c0a2cd4b43aa76a4ef7ae175.tar.bz2
rockbox-5de6ddcaa170cce4c0a2cd4b43aa76a4ef7ae175.zip
Add a check for '' not being set. make zip doesn't work for me without it. Perhaps only a problem on Cygwin?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27317 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/buildzip.pl6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/buildzip.pl b/tools/buildzip.pl
index f0a2c6a030..36af2b31f3 100755
--- a/tools/buildzip.pl
+++ b/tools/buildzip.pl
@@ -474,7 +474,11 @@ $year+=1900;
# 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);