pike.git / NT / tools / lib

version» Context lines:

pike.git/NT/tools/lib:17:    if [ $USE_SPRSH = yes ]; then    sprsh getenv $1    else    rsh $NTHOST set $1 | egrep "^$1=" | sed 's/^.*=//   s///g'    fi   }      silent_do_cmd() {    if [ $USE_SPRSH = yes ]; then -  sprsh "$*" +  sprsh "$@"    else    BATFILE=TMP$$.bat    PWD=`pwd`    RPWD=`fixabspath $PWD`    if [ x$NT_DEBUG != xyes ]; then    echo >$BATFILE "@echo off"    else    echo >$BATFILE    fi    echo >>$BATFILE "$NTDRIVE"    echo >>$BATFILE "cd $RPWD" -  echo >>$BATFILE "$*" +  echo >>$BATFILE "$@"    rsh $NTHOST $NTDRIVE$RPWD\\$BATFILE    if [ x$CLEANUP = xyes ]; then    rm $BATFILE || :    fi    fi   }      do_cmd() {    echo "DOING $*" >&2    silent_do_cmd "$@"   }