mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-25 02:30:18 -06:00
44879c94c4
brings back packages on ubuntu xenial
18 lines
417 B
Bash
Executable File
18 lines
417 B
Bash
Executable File
#!/bin/bash
|
|
|
|
ORIGDIR=`pwd`
|
|
TOPDIR=`dirname $0`
|
|
tmp=`mktemp -d`
|
|
pushd .
|
|
cd $TOPDIR/..
|
|
git archive --prefix opm-simulators-$1/ -o $tmp/opm-simulators.tar.gz $2
|
|
cd $tmp
|
|
wget https://github.com/OPM/eigen3/archive/master.tar.gz -O eigen3-master.tar.gz
|
|
tar zxvf opm-simulators.tar.gz
|
|
cd opm-simulators-$1
|
|
tar zxvf ../eigen3-master.tar.gz
|
|
cd ..
|
|
tar zcvf $ORIGDIR/opm-simulators-$1.tar.gz opm-simulators-$1/
|
|
popd
|
|
rm $tmp -Rf
|