📄 getconfig.sh
字号:
#!/bin/sh############ File: getconfig.sh## Purpose: Get a copy of the config subdir.## Version: $Id: getconfig.sh,v 1.1 2005/08/16 19:05:26 hckim Exp $## Copyright (C) University of Colorado and Tech-X Corporation############ Get optionswhile test -n "$1"; do case "$1" in -q) QUIETOPT="-q" shift ;; esacdone# Determine the echo without trailing newlinecase `uname` in Linux) ECHONONL="echo -n" ;; SunOS) ECHONONL="/usr/ucb/echo -n" ;; *) ECHONONL="echo -n" ;;esac# Determine the release# REL=`cat CVS/Entries | grep Makefile.am | sed 's/^.*200.\///' | sed 's/\///g'`# if test -n "$REL"; then# REL=`echo $REL | sed 's/^T//'`# RELSTR="-r $REL"# fi# Determine how to get configloginname=`whoami`if test -z "$QUIETOPT"; then $ECHONONL "Do you have direct access to the config/ repository on fusion.txcorp.com? (y/n) " read lnelse ln=yfi# Get if test "$ln" = y -o "$ln" = yes -o "$ln" = ""; then cmd="cvs -d :ext:$loginname@fusion.txcorp.com:/fusion/pubproj co config" echo $cmd $cmdelse echo "Hit return at request for password" cvs -d :pserver:config-ro@fusion.txcorp.com:/fusion/pubproj login cvs -d :pserver:config-ro@fusion.txcorp.com:/fusion/pubproj co config rm -f CVS/Entries.Logfi
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -