fix a prereq bug
fix a prereq bug

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8183 3c298f89-4303-0410-b956-a3cf2f4a3e73

--- a/scripts/metadata.pl
+++ b/scripts/metadata.pl
@@ -556,7 +556,7 @@
 		}
 		if ($config) {
 			print "package-$config += $pkg->{subdir}$pkg->{src}\n";
-			$pkg->{prereq} and print "prereq-$config += $pkg->{src}\n";
+			$pkg->{prereq} and print "prereq-$config += $pkg->{subdir}$pkg->{src}\n";
 		}
 	
 		my $hasdeps = 0;

comments