Skip to content

Commit

Permalink
Fixed outdated link to Eigen in script downloadEigen
Browse files Browse the repository at this point in the history
  • Loading branch information
fppimenta committed Sep 12, 2020
1 parent fade0eb commit 56c2701
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions fe40/downloadEigen
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
#------------------------------------------------------------------------------
# ========= |
# \\ / F ield | foam-extend: Open Source CFD
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration |
# \\ / A nd | For copyright notice see file Copyright
# \\/ M anipulation |
Expand Down Expand Up @@ -41,7 +41,7 @@ EigenV="3.2.9"
mkdir -p $WM_PROJECT_USER_DIR/ThirdParty
cd $WM_PROJECT_USER_DIR/ThirdParty

wget "http://bitbucket.org/eigen/eigen/get/$EigenV.tar.gz"
wget "https://gitlab.com/libeigen/eigen/-/archive/$EigenV/eigen-$EigenV.tar.gz"

state=$?

Expand All @@ -55,14 +55,14 @@ if [ $state -ne 0 ]; then
exit 1;
fi

tmpname=`tar -tzf $EigenV.tar.gz | head -1 | cut -f1 -d"/"`
tmpname=`tar -tzf eigen-$EigenV.tar.gz | head -1 | cut -f1 -d"/"`

tar -xvzf $EigenV.tar.gz
tar -xvzf eigen-$EigenV.tar.gz

state=$?

if [ $state -eq 0 ]; then
rm $EigenV.tar.gz
rm eigen-$EigenV.tar.gz

mv $tmpname Eigen$EigenV

Expand Down
8 changes: 4 additions & 4 deletions of60/downloadEigen
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ EigenV="3.2.9"
mkdir -p $WM_PROJECT_USER_DIR/ThirdParty
cd $WM_PROJECT_USER_DIR/ThirdParty

wget "http://bitbucket.org/eigen/eigen/get/$EigenV.tar.gz"
wget "https://gitlab.com/libeigen/eigen/-/archive/$EigenV/eigen-$EigenV.tar.gz"

state=$?

Expand All @@ -55,14 +55,14 @@ if [ $state -ne 0 ]; then
exit 1;
fi

tmpname=`tar -tzf $EigenV.tar.gz | head -1 | cut -f1 -d"/"`
tmpname=`tar -tzf eigen-$EigenV.tar.gz | head -1 | cut -f1 -d"/"`

tar -xvzf $EigenV.tar.gz
tar -xvzf eigen-$EigenV.tar.gz

state=$?

if [ $state -eq 0 ]; then
rm $EigenV.tar.gz
rm eigen-$EigenV.tar.gz

mv $tmpname Eigen$EigenV

Expand Down
8 changes: 4 additions & 4 deletions of70/downloadEigen
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ EigenV="3.2.9"
mkdir -p $WM_PROJECT_USER_DIR/ThirdParty
cd $WM_PROJECT_USER_DIR/ThirdParty

wget "http://bitbucket.org/eigen/eigen/get/$EigenV.tar.gz"
wget "https://gitlab.com/libeigen/eigen/-/archive/$EigenV/eigen-$EigenV.tar.gz"

state=$?

Expand All @@ -55,14 +55,14 @@ if [ $state -ne 0 ]; then
exit 1;
fi

tmpname=`tar -tzf $EigenV.tar.gz | head -1 | cut -f1 -d"/"`
tmpname=`tar -tzf eigen-$EigenV.tar.gz | head -1 | cut -f1 -d"/"`

tar -xvzf $EigenV.tar.gz
tar -xvzf eigen-$EigenV.tar.gz

state=$?

if [ $state -eq 0 ]; then
rm $EigenV.tar.gz
rm eigen-$EigenV.tar.gz

mv $tmpname Eigen$EigenV

Expand Down

0 comments on commit 56c2701

Please sign in to comment.