Changeset 14 for trunk/install.sh
- Timestamp:
- 06/07/07 17:29:19 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/install.sh
r2 r14 12 12 # 13 13 # update 14 # smasson 2007-06-07T16:43:42Z arete.locean-ipsl.upmc.fr (Darwin) 15 # can give the answer with input parameters 14 16 # fplod 2007-04-26T11:51:42Z aedon.locean-ipsl.upmc.fr (Darwin) 15 17 # … … 18 20 DIRWWW=/tmp/bibopa/ 19 21 # 20 echo "Do you want to install on ${DIRFINALLOCEAN} (y|[n]) ?" 21 answer=" " 22 #read answer 23 answer=n 22 answer=${1:-" "} 23 case ${answer} in 24 y|Y|n|N) 25 ;; 26 *) 27 echo "Do you want to install on ${DIRFINALLOCEAN} (y|[n]) ?" 28 read answer 29 ;; 30 esac 24 31 case ${answer} in 25 32 y|Y) … … 37 44 DIRFINALLOCEAN=opatlod@cerbere.locean-ipsl.upmc.fr:NEMO/general/biblio_new/ 38 45 # 39 echo "Do you want to install on ${DIRFINALLOCEAN} (y|[n]) ?" 40 answer=" " 41 #read answer 42 answer=y 46 answer=${2:-" "} 47 case ${answer} in 48 y|Y|n|N) 49 ;; 50 *) 51 echo "Do you want to install on ${DIRFINALLOCEAN} (y|[n]) ?" 52 read answer 53 ;; 54 esac 43 55 case ${answer} in 44 56 y|Y)
Note: See TracChangeset
for help on using the changeset viewer.