summarylogtreecommitdiffstats
path: root/petsc.install
diff options
context:
space:
mode:
authormyles2016-04-26 13:44:24 +0100
committermyles2016-04-26 13:44:24 +0100
commit81afd30d18f1fefd50e09edf06e0258fa4b650f1 (patch)
tree0972fce793298f9ca68edfef3ae4a21fbdc215a0 /petsc.install
parent7055e209503224e674a5ebd899a361c21cc24542 (diff)
downloadaur-81afd30d18f1fefd50e09edf06e0258fa4b650f1.tar.gz
Updated to 3.7.0
Diffstat (limited to 'petsc.install')
-rw-r--r--petsc.install6
1 files changed, 3 insertions, 3 deletions
diff --git a/petsc.install b/petsc.install
index 2c2837e290ca..9bbe4bb528e0 100644
--- a/petsc.install
+++ b/petsc.install
@@ -4,15 +4,15 @@ post_install() {
source /etc/profile.d/petsc.sh
export PETSC_DIR=${PETSC_DIR}
-#noVersion=${1%%-[1-9]}
-#rootDir=${noVersion/_/-}
+noVersion=${1%%-[1-9]}
+rootDir=${noVersion/_/-}
cat << EOF
If you just ran makepkg in this directory then
to test the PETSc installation you can run:
-$ cd src/petsc-3.6.4/; make PETSC_DIR=$PETSC_DIR test
+$ cd src/petsc-${rootDir}/; make PETSC_DIR=$PETSC_DIR test
EOF
}