X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=rc%2Fclearcase;h=14a3d881380bf4b2dfd6af42a6030eeb13582a19;hb=a77e38390a688e1d0a3709d21f42ac5c51a436db;hp=3317a018f521004a43a2f877c4f0e19e9703f96a;hpb=1140ca8d56832ae529db0f353112ac192cdf9432;p=clearscm.git diff --git a/rc/clearcase b/rc/clearcase index 3317a01..14a3d88 100644 --- a/rc/clearcase +++ b/rc/clearcase @@ -15,7 +15,10 @@ # ################################################################################ if [ $ARCHITECTURE = 'cygwin' ]; then - export CCHOME=$(cygpath -u "$(regtool get '/machine/SOFTWARE/Rational Software/RSINSTALLDIR' 2>/dev/null)"/Clearcase 2>/dev/null); + # The following should work but fails because they are using /c to mount + # the C drive and that messes things up. + export CCHOME=$(cygpath -u "$(regtool get '/machine/SOFTWARE/Atria/ClearCase/CurrentVersion/ProductHome' 2>/dev/null)" 2>/dev/null) + export CCHOME=/opt/rational/clearcase else export CCHOME="/opt/rational/clearcase" fi