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
This commit is contained in:
Magnus Holmgren 2010-07-06 18:15:13 +00:00
parent 57484bdf04
commit 5de6ddcaa1

View file

@ -474,7 +474,11 @@ $year+=1900;
# made once for all targets # made once for all targets
sub runone { sub runone {
my ($target, $fonts)=@_; 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 # build a full install .rockbox ($rbdir) directory
buildzip($target, $fonts); buildzip($target, $fonts);