Add a --chdir option to configpm, and use this in the Win32 Makfiles.
[p5sagit/p5-mst-13.2.git] / symbian / find_writeable_data.pl
index 24bf298..bdb5790 100644 (file)
@@ -34,7 +34,7 @@ use Cwd;
 use File::Basename;
 
 my $dir = lc(getcwd());
-my $tgt = basename(shift @ARGV);
+my $tgt = basename(shift(@ARGV), ".mmp");
 
 $dir =~ s!/!\\!g;
 $dir =~ s!^c:!c:$ENV{EPOCROOT}epoc32\\build!;