File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -15,11 +15,11 @@ for i in "$@"
1515 ;;
1616 --prefix=* )
1717 PREFIX=" ${i#* =} "
18- if [ " ${PREFIX} " == " /usr" ]; then
18+ if [ " ${PREFIX} " = " /usr" ]; then
1919 echo " Do not use /usr as your --prefix install location"
2020 exit
2121 fi
22- if [ " ${PREFIX} " == " /usr/local" ]; then
22+ if [ " ${PREFIX} " = " /usr/local" ]; then
2323 echo " Do not use /usr/local as your --prefix install location"
2424 exit
2525 fi
@@ -42,7 +42,7 @@ for i in "$@"
4242 esac
4343done
4444
45- if [ " ${PREFIX} " == " notset" ]; then
45+ if [ " ${PREFIX} " = " notset" ]; then
4646 echo " You must provide a --prefix=\" installation directory\" option"
4747 exit
4848fi
9696# Install the packages
9797export PETSC_DIR=` pwd`
9898./configure --download-xsdk $*
99- if [ " $? " == " 0" ]; then
100- if [ " ${SKIPMAKE} " == " 0" ]; then
99+ if [ " $? " = " 0" ]; then
100+ if [ " ${SKIPMAKE} " = " 0" ]; then
101101 make
102102 make install
103103 fi
You can’t perform that action at this time.
0 commit comments