Changeset 24 for palm/trunk/SCRIPTS
- Timestamp:
- Feb 28, 2007 9:58:29 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/mbuild
r23 r24 758 758 759 759 remote_ud=${remote_source_path}/../UTIL 760 remote_ud=$(eval echo $remote_ud) 760 761 761 762 # REMOTE-PFAD FUER MAKE-DEPOSITORY ERMITTELN … … 1232 1233 then 1233 1234 1235 printf "\n\n" 1234 1236 echo " *** copying utility programs to \"${remote_addres}:${remote_ud}/\" " 1235 1237 cd ${local_source_path}/../UTIL 1236 echo " remote_ud=\"$remote_ud\" "1237 1238 1238 1239 if [[ $remote_host != lctit ]] 1239 1240 then 1240 ssh ${remote_username}@${remote_addres} "[[ ! -d ${remote_ud} ]] && (echo \" *** ${remote_ud} will be created\"; mkdir -p ${remote_ud}) "1241 ssh ${remote_username}@${remote_addres} "[[ ! -d ${remote_ud} ]] && (echo \" *** ${remote_ud} will be created\"; mkdir -p ${remote_ud}); [[ ! -d ${remote_ud}/../SCRIPTS ]] && (echo \" *** ${remote_ud}/../SCRIPTS will be created\"; mkdir -p ${remote_ud}/../SCRIPTS)" 1241 1242 else 1242 1243 # TIT ERLAUBT NUR DIE AUSFÜHRUNG GANZ BESTIMMTER KOMMANDOS 1243 1244 # MIT SSH, DESHALB AUFRUF PER PIPE 1244 print "[[ ! -d ${remote_ud} ]] && (echo \" *** ${remote_ud} will be created\"; mkdir -p ${remote_ud}) " | ssh ${remote_username}@${remote_addres} 2>&11245 print "[[ ! -d ${remote_ud} ]] && (echo \" *** ${remote_ud} will be created\"; mkdir -p ${remote_ud}); [[ ! -d ${remote_ud}/../SCRIPTS ]] && (echo \" *** ${remote_ud}/../SCRIPTS will be created\"; mkdir -p ${remote_ud}/../SCRIPTS)" | ssh ${remote_username}@${remote_addres} 2>&1 1245 1246 fi 1246 1247 … … 1251 1252 # KOENNEN DOLLAR-ZEICHEN NICHT BENUTZT WERDEN 1252 1253 remote_ud=`echo $remote_ud | sed 's/\$HOME\///'` 1253 /bin/scp Makefile *.f90 ${remote_username}@${remote_addres}:${remote_ud} 1254 /bin/scp Makefile *.f90 ${remote_username}@${remote_addres}:${remote_ud} > /dev/null 1254 1255 else 1255 scp Makefile *.f90 ${remote_username}@${remote_addres}:${remote_ud} 1256 scp Makefile *.f90 ${remote_username}@${remote_addres}:${remote_ud} > /dev/null 1256 1257 fi 1257 1258
Note: See TracChangeset
for help on using the changeset viewer.