Changeset 28348

Show
Ignore:
Timestamp:
02.10.2013 15:50:59 (6 years ago)
Author:
davidb
Message:

Logic added to compile (optionally) client and server

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gs2-extensions/echoprint/trunk/src/src/CASCADE-MAKE.sh

    r28342 r28348  
    66arg1=$1 && shift 
    77 
    8 for d in ECHOPRINT ; do 
     8packlist= 
     9if [ "x$arg1" != "x" ] ; then 
     10 
     11  if [ $arg1 == "client" -o $arg1 == "all" ] ; then 
     12    packlist="$packlist ECHOPRINT" 
     13  elif [ $arg1 = "server" -o $arg1 = "all" ] ; then 
     14    packlist="$packlist ECHOPRINT-SERVER" 
     15  else 
     16    echo "Warning: Unrecognized command '$1'" >&2 
     17  fi 
     18 
     19else  
     20  echo "Usage: ./CASCADE-MADE.sh client|server|all [install|clean|distclean|tarclean]" >&2 
     21fi 
     22 
     23 
     24for d in $packlist ; do 
    925    echo "    Running CASCADE-MAKE/$d.sh" 
    1026