Changeset 2165
- Timestamp:
- Dec 5, 2014, 5:20:28 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/script_install/install.sh
r2164 r2165 423 423 export ORCHPATH=`pwd` 424 424 orchidee_rev=`svn info | grep '^Revision' | awk '{print $2}'` 425 if [ -z $orchidee_rev ] ; then 426 svn info 2 >| err 427 grep 'svn upgrade' err > /dev/null 428 if [ $? -eq 0 ] ; then 429 svn upgrade 430 orchidee_rev=`svn info | grep '^Revision' | awk '{print $2}'` 431 else 432 echo "Impossible de determiner la version d'ORCHIDEE" 433 echo "Continuer (o/y/n) ?" 434 read reponse 435 if [ $reponse != 'o' ] && [ $reponse != 'y' ] ; then 436 exit 437 fi 438 fi 439 fi 425 440 echo '########################################################' 426 441 echo 'Orchidee revision: ', $orchidee_rev
Note: See TracChangeset
for help on using the changeset viewer.