[Pkg-mozext-commits] [adblock-plus] 63/464: Made setupTestEnvironment.pl stop expecting to find extension name in install.rdf
David Prévot
taffit at moszumanska.debian.org
Tue Jul 22 20:44:03 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository adblock-plus.
commit 6d650638247bee919fb8fefb6d5dd990b7e3c907
Author: Wladimir Palant <trev at adblockplus.org>
Date: Mon Jan 18 15:47:30 2010 +0100
Made setupTestEnvironment.pl stop expecting to find extension name in install.rdf
---
setupTestEnvironment.pl | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/setupTestEnvironment.pl b/setupTestEnvironment.pl
index 26f6650..fcd619b 100644
--- a/setupTestEnvironment.pl
+++ b/setupTestEnvironment.pl
@@ -38,9 +38,6 @@ my $cleanManifest = $installManifest;
$cleanManifest =~ s/<(\w+:)?targetApplication>.*?<\/\1targetApplication>//gs;
$cleanManifest =~ s/<(\w+:)?requires>.*?<\/\1requires>//gs;
-die "Failed to extract extension name from install manifest" unless $cleanManifest =~ /<(\w+:)?name>([^<>]+)<\/\1name>/;
-my $name = $2;
-
die "Failed to extract extension ID from install manifest" unless $cleanManifest =~ /<(\w+:)?id>([^<>]+)<\/\1id>/;
my $id = $2;
@@ -65,7 +62,7 @@ unless (@dirs)
print STDERR <<EOT;
This script requires a file with the name .profileDirs to be in the current
directory. Please create this file and specify the directories of the profiles
-where you want to install a test version of $name, one per line.
+where you want to install a test version of the extension, one per line.
For example:
c:\\Documents and Setting\\<user>\\Application Data\\Mozilla\\Firefox\\Profiles\\<seed>.default
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git
More information about the Pkg-mozext-commits
mailing list