commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnue/gnuef setup_cvs_devel.sh client/gfclient.in


From: Jason Cater
Subject: gnue/gnuef setup_cvs_devel.sh client/gfclient.in
Date: Fri, 01 Jun 2001 13:34:15 -0700

CVSROOT:        /home/cvs
Module name:    gnue
Changes by:     Jason Cater <address@hidden>    01/06/01 13:34:15

Modified files:
        gnuef          : setup_cvs_devel.sh 
        gnuef/client   : gfclient.in 

Log message:
        Added logic so that gfclient and gfcvs do not default to a connections 
file if that file doesn't exist.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/setup_cvs_devel.sh.diff?cvsroot=OldCVS&tr1=1.8&tr2=1.9&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/client/gfclient.in.diff?cvsroot=OldCVS&tr1=1.2&tr2=1.3&r1=text&r2=text

Patches:
Index: gnue/gnuef/client/gfclient.in
diff -u gnue/gnuef/client/gfclient.in:1.2 gnue/gnuef/client/gfclient.in:1.3
--- gnue/gnuef/client/gfclient.in:1.2   Wed May 30 11:00:52 2001
+++ gnue/gnuef/client/gfclient.in       Fri Jun  1 13:34:15 2001
@@ -24,8 +24,11 @@
 
 if [ "x$GNUE_CONNECTIONS" = "x" ] 
 then 
-  GNUE_CONNECTIONS=$INST_GNUE_CONNECTIONS
-  export GNUE_CONNECTIONS
+  if [ -f $INST_GNUE_CONNECTIONS ]
+  then 
+    GNUE_CONNECTIONS=$INST_GNUE_CONNECTIONS
+    export GNUE_CONNECTIONS
+  fi
 fi 
 
 
Index: gnue/gnuef/setup_cvs_devel.sh
diff -u gnue/gnuef/setup_cvs_devel.sh:1.8 gnue/gnuef/setup_cvs_devel.sh:1.9
--- gnue/gnuef/setup_cvs_devel.sh:1.8   Fri Jun  1 10:53:59 2001
+++ gnue/gnuef/setup_cvs_devel.sh       Fri Jun  1 13:34:15 2001
@@ -25,8 +25,11 @@
    (
      echo 'if [ "z$GNUE_CONNECTIONS" = "z" ]' 
      echo 'then' 
-     echo '  GNUE_CONNECTIONS=/usr/local/gnue/etc/connections.conf'
-     echo '  export GNUE_CONNECTIONS' 
+     echo '  if [ -f /usr/local/gnue/etc/connections.conf ]'
+     echo '  then' 
+     echo '    GNUE_CONNECTIONS=/usr/local/gnue/etc/connections.conf'
+     echo '    export GNUE_CONNECTIONS' 
+     echo '  fi' 
      echo 'fi' 
      echo "PYTHONPATH=`pwd`/.cvsdevelbase:\$PYTHONPATH; export PYTHONPATH"
      echo "python `pwd`/.cvsdevelbase/gnue/forms/GFClient.py \$*" 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]