Ignore:
Timestamp:
Feb 28, 2007 9:58:29 AM (18 years ago)
Author:
raasch
Message:

bugs removed from mbuild

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/mbuild

    r23 r24  
    758758
    759759    remote_ud=${remote_source_path}/../UTIL
     760    remote_ud=$(eval echo $remote_ud)
    760761
    761762       # REMOTE-PFAD FUER MAKE-DEPOSITORY ERMITTELN
     
    12321233          then
    12331234
     1235             printf "\n\n"
    12341236             echo "  *** copying utility programs to \"${remote_addres}:${remote_ud}/\" "
    12351237             cd  ${local_source_path}/../UTIL
    1236              echo "      remote_ud=\"$remote_ud\" "
    12371238
    12381239             if [[ $remote_host != lctit ]]
    12391240             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)"
    12411242             else
    12421243                   # TIT ERLAUBT NUR DIE AUSFÜHRUNG GANZ BESTIMMTER KOMMANDOS
    12431244                   # 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>&1
     1245                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
    12451246             fi
    12461247
     
    12511252                   # KOENNEN DOLLAR-ZEICHEN NICHT BENUTZT WERDEN
    12521253                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
    12541255             else
    1255                 scp  Makefile  *.f90  ${remote_username}@${remote_addres}:${remote_ud}
     1256                scp  Makefile  *.f90  ${remote_username}@${remote_addres}:${remote_ud}  >  /dev/null
    12561257             fi
    12571258
Note: See TracChangeset for help on using the changeset viewer.