Skip to content

Commit

Permalink
Completed install changes - again
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Martin authored and Andrew Martin committed Jul 12, 2018
1 parent 273e494 commit 6b83984
Showing 1 changed file with 9 additions and 16 deletions.
25 changes: 9 additions & 16 deletions src/makemake.pl
Expand Up @@ -116,23 +116,16 @@
# 12.07.18 No longer uses git submodules
sub GetBiopLib
{
# if(-d "../.git")
# {
# system("(cd ..; git submodule init)");
# system("(cd ..; git submodule update)");
# }
# else
# {
if((! -d "libsrc/bioplib/.git") && (! -d "libsrc/bioplib/src"))
{
system("\\rm -rf libsrc/bioplib");
system("mkdir -p libsrc");
my $url = "$::biopgit$::biopversion$::biopext";
my $tar = "V$::biopversion$::biopext";
system("(cd libsrc; wget $url; tar xvf $tar; mv bioplib-$::biopversion bioplib)");
}
# }
if((! -d "libsrc/bioplib/.git") && (! -d "libsrc/bioplib/src"))
{
system("\\rm -rf libsrc/bioplib");
system("mkdir -p libsrc");
my $url = "$::biopgit$::biopversion$::biopext";
my $tar = "V$::biopversion$::biopext";
system("(cd libsrc; wget $url; tar xvf $tar; mv bioplib-$::biopversion bioplib)");
}
}

#*************************************************************************
# Writes the rule for installing code in $BINDIR
#
Expand Down

0 comments on commit 6b83984

Please sign in to comment.