Permalink
Browse files

Adding script which runs deob_index to update the db. (prob Mauricio'…

…s code)
  • Loading branch information...
1 parent de72500 commit 6f76751957af6d2ff456db31aa4958c4f6bb42fb @DaveMessina DaveMessina committed Oct 20, 2013
Showing with 28 additions and 0 deletions.
  1. +28 −0 doc/Deobfuscator/bin/run-deobfuscator-update.pl
@@ -0,0 +1,28 @@
+#!/usr/bin/perl -w
+use strict;
+
+my $base = '/home/websites/bioperl.org';
+my $srcdir = "$base/src/git";
+my $deob_index = "$base/src/Deobfuscator/bin/deob_index.pl";
+
+my @modules = qw(
+ bioperl-corba-client
+ bioperl-corba-server
+ bioperl-db
+ bioperl-dev
+ bioperl-ext
+ bioperl-gui
+ bioperl-live
+ bioperl-microarray
+ bioperl-network
+ bioperl-pedigree
+ bioperl-pipeline
+ bioperl-pise
+ bioperl-run
+);
+
+chdir $srcdir;
+for my $module (@modules) {
+ system("/usr/bin/perl $deob_index -s $module $srcdir/$module/Bio $srcdir/$module");
+}
+exit();

0 comments on commit 6f76751

Please sign in to comment.