#!/bin/bash

#get number of CPUS
NUMCPUS=$1;


#version of findbugs
version=`echo *.tar.gz | sed 's/\.tar\.gz//g' | sed 's/findbugs-//g'`

#Erase install
rm -rf install  findbugs-$version

#install directory
mkdir install

tar -zxvf findbugs-$version.tar.gz 

mv findbugs-$version/* install
rm -rf findbugs-$version
