Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Štvrtok, 22. október 2026

Rozdiely pre scripts/shell/cvs-switch/cvs-switch.sh medzi verziami 1.2 a 1.3

verzia 1.2, 2004/04/16 20:52:44 verzia 1.3, 2004/10/14 13:49:36
Riadok 24 
Riadok 24 
 # 2004-04-13 - created  # 2004-04-13 - created
 #  #
   
 # $Platon: scripts/shell/cvs-switch/cvs-switch.sh,v 1.1 2004/04/14 18:48:49 rajo Exp $  # $Platon: scripts/shell/cvs-switch/cvs-switch.sh,v 1.2 2004/04/16 20:52:44 rajo Exp $
   
 #  #
 # This code is tested on Linux, FreeBSD and Solaris  # This code is tested on Linux, FreeBSD and Solaris
Riadok 48  print_exported()
Riadok 48  print_exported()
 { # {{{  { # {{{
         name=$1          name=$1
         value=$2          value=$2
         echo "export $name=\"$value\""          if [ -z $value ]; then
                   echo "unset $name;"
           else
                   echo "export $name=\"$value\";"
           fi
 } # }}}  } # }}}
   
 #  #
Riadok 104  print_exported()
Riadok 108  print_exported()
         cvsroot="CVSROOT_$rep";          cvsroot="CVSROOT_$rep";
         cvs_rsh="CVS_RSH_$rep";'          cvs_rsh="CVS_RSH_$rep";'
   
         i=1          TITLE_none="NONE"
         for rep in ${!REPOSITORIES}; do          CVSROOT_none=""
           CVS_RSH_none=""
   
           i=0
           for rep in none ${!REPOSITORIES}; do
                 eval rep_$i="$rep";                  eval rep_$i="$rep";
                 eval "$SET_VARIABLES";                  eval "$SET_VARIABLES";
   
Riadok 118  print_exported()
Riadok 126  print_exported()
         done          done
   
         print_message          print_message
         print_message -en "Your choice: [1]:"          print_message -en "Your choice: [0]:"
         read x          read x
         if [ -z "$x" ]; then          if [ -z "$x" ]; then
                 i=1;                  i=1;

Legend:
Odstranené z verzie1.2  
zmenené riadky
  Pridané vo verzii1.3

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok