From 9990dec6515464b272f8f62f4666c74fe1d1d77b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 4 Aug 2005 18:11:46 +0000 Subject: [PATCH] don't assume ../firmware, use the passed in dir path git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7282 a1c6a512-1295-4272-9138-f99709370657 --- tools/buildzip.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/buildzip.pl b/tools/buildzip.pl index bdad0fc7e2..392a0d0211 100755 --- a/tools/buildzip.pl +++ b/tools/buildzip.pl @@ -14,6 +14,8 @@ if($ARGV[0] eq "-v") { shift @ARGV; } +my $firmdir="$ROOT/firmware"; + my $target = $ARGV[0]; my $cppdef = $target; @@ -107,7 +109,7 @@ Font Size We Want: MAX_FONT_SIZE STOP ; close(SIZE); - my $c="cat ziptemp | gcc $cppdef -I. -I../firmware/export -E -P -"; + my $c="cat ziptemp | gcc $cppdef -I. -I$firmdir/export -E -P -"; # print STDERR "C: $c\n"; open(GETSIZE, "$c|");