Minor changes
authorhn06511 <hn06511@AZ25JZHXKB2D.gddsi.com>
Tue, 3 Jul 2018 16:50:25 +0000 (09:50 -0700)
committerhn06511 <hn06511@AZ25JZHXKB2D.gddsi.com>
Tue, 3 Jul 2018 16:50:25 +0000 (09:50 -0700)
Whitespace changes for Project.pm
Changed clearcase to use $CLEARCASE_VIEW_DRIVE
Added aliases to system

lib/Clearcase/UCM/Project.pm
rc/clearcase
rc/system

index 350df52..7b58a10 100644 (file)
@@ -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) = @_;
 
index 14a3d88..1c33ad1 100644 (file)
@@ -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
index 03a1fb3..bbbc234 100644 (file)
--- 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