From: hn06511 Date: Tue, 3 Jul 2018 16:50:25 +0000 (-0700) Subject: Minor changes X-Git-Url: https://defaria.com/gitweb/?a=commitdiff_plain;h=4c24c2eea11a8cc408126ab1da3bfd08ff2232de;p=clearscm.git Minor changes Whitespace changes for Project.pm Changed clearcase to use $CLEARCASE_VIEW_DRIVE Added aliases to system --- diff --git a/lib/Clearcase/UCM/Project.pm b/lib/Clearcase/UCM/Project.pm index 350df52..7b58a10 100644 --- a/lib/Clearcase/UCM/Project.pm +++ b/lib/Clearcase/UCM/Project.pm @@ -102,7 +102,7 @@ Returns: return $class; } # new - + sub name () { my ($self) = @_; @@ -178,7 +178,7 @@ Returns: return $self->{pvob}; } # pvob - + sub create (;$) { my ($self, $opts) = @_; diff --git a/rc/clearcase b/rc/clearcase index 14a3d88..1c33ad1 100644 --- a/rc/clearcase +++ b/rc/clearcase @@ -132,11 +132,11 @@ function lllock { # View related functions function setview { if [ $ARCHITECTURE = 'cygwin' ]; then - if [[ $1 = -* ]]; then - echo "The setview command with options is not supported on Windows" - return - fi - + if [[ $1 = -* ]]; then + echo "The setview command with options is not supported on Windows" + return + fi + # Save off where we are back=$PWD @@ -148,7 +148,7 @@ function setview { fi # Setup $VOBTAG_PREFIX - mount -f -o binary M:/$1 $LINUX_VOBTAG_PREFIX + mount -f -o binary $CLEARCASE_VIEW_DRIVE:/$1 $LINUX_VOBTAG_PREFIX # Start a bash shell bash diff --git a/rc/system b/rc/system index 03a1fb3..bbbc234 100644 --- a/rc/system +++ b/rc/system @@ -26,4 +26,32 @@ case "$SYSNAME" in Az25jzhxkb2d) SYSNAME="Venus" ;; + + Rdecc1-ldom) + SYSNAME="Server1" + ;; + + Rdebf1-ldom) + SYSNAME="Server2" + ;; + + Rdews-ldom) + SYSNAME="Server3" + ;; + + Rdebf1) + SYSNAME="Rdebuild1" + ;; + + Rdebf2) + SYSNAME="Rdebuild2" + ;; + + Rdebf3) + SYSNAME="Rdebuild3" + ;; + + Rdebf4) + SYSNAME="Rdebuild4" + ;; esac