We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a30bdd6 commit 6373719Copy full SHA for 6373719
installxSDK.sh
@@ -54,8 +54,10 @@ if [ ! -d xsdk ]; then
54
fi
55
cd xsdk
56
57
-#PETSC_BRANCH='barry/downloads'
58
-# Get PETSc
+if [ "${PETSC_BRANCH}x" = "x" ]; then
+ PETSC_BRANCH="master"
59
+fi
60
+
61
if [ ! -d petsc ]; then
62
if [ "${PACKAGEDIR}" != "0" ]; then
63
if [ ! -f ${PACKAGEDIR}/petsc.tar.gz ]; then
@@ -87,15 +89,16 @@ else
87
89
if [ "${WITHGIT}" != "0" ]; then
88
90
cd petsc
91
git fetch
- #git checkout $PETSC_BRANCH
92
+ git checkout $PETSC_BRANCH
93
git pull
94
95
96
97
98
# Install the packages
99
export PETSC_DIR=`pwd`
-./configure --download-xsdk $*
100
+echo "$@"
101
+./configure --download-xsdk "$@"
102
if [ "$?" = "0" ]; then
103
if [ "${SKIPMAKE}" = "0" ]; then
104
make
0 commit comments