From 5de6ddcaa170cce4c0a2cd4b43aa76a4ef7ae175 Mon Sep 17 00:00:00 2001 From: Magnus Holmgren Date: Tue, 6 Jul 2010 18:15:13 +0000 Subject: 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 --- tools/buildzip.pl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3