Changeset 7636 for trunk/MagicSoft


Ignore:
Timestamp:
04/12/06 17:02:32 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r7635 r7636  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20
     21 2006/04/12 Daniela Dorner, Daniel Hoehne
     22
     23   * datacenter/scripts/makecallistolinks:
     24     - fixed bug
     25
     26
    2027
    2128 2006/04/12 Thomas Bretz
  • trunk/MagicSoft/Mars/datacenter/scripts/makecallistolinks

    r7628 r7636  
    5555reason1="Pulse is too much to the right, cannot go beyond logain limits!"
    5656reason2="Pulse is too much to the left, cannot go below 0!"
    57 echo "reason: "$reason >> $scriptlog 2>&1
     57echo "reason1: "$reason1 >> $scriptlog 2>&1
     58echo "reason2: "$reason2 >> $scriptlog 2>&1
    5859
    5960# find files containing reason
     
    7374for file in $files
    7475do
    75    pulse=`cat $file | grep "$reason1\|$reason2"` >> $scriptlog 2>&1
     76   pulse=`cat $file | grep "$reason1\|$reason2"`
    7677   sequ=`echo $file | cut -d/ -f6`
     78   path=`dirname $file`
     79   callistorc=$dirname/$callistorcseq
    7780
    7881   if [ ! "$pulse" = "" ]
    7982   then
    80       if ! ls -l $callistorcseq | grep $callistorcnew >> $scriptlog 2>&1
     83      if ! ls -l $callistorc | grep $callistorcnew >> $scriptlog 2>&1
    8184      then
    8285         # resetting the calibration
    8386         echo "resetting the callisto for sequence $sequ" >> $scriptlog 2>&1
     87         echo "  reason: $pulse" >> $scriptlog 2>&1
    8488         resetlogpath=$logpath/resetcallisto
    8589         echo "resetlogpath: $resetlogpath" >> $scriptlog 2>&1
     
    9498                 continue ;;
    9599         esac
    96       #linking callisto.rc
    97       path=`dirname $file` >> $scriptlog 2>&1
    98       ln -vfs $setuppath/callisto/$callistorcnew $path/$callistorcseq >> $scriptlog 2>&1
     100         #linking callisto.rc
     101         ln -vfs $setuppath/callisto/$callistorcnew $callistorc >> $scriptlog 2>&1
    99102      fi
    100103   fi
Note: See TracChangeset for help on using the changeset viewer.