/[gnats]/gnats/send-pr/send-pr.sh
ViewVC logotype

Diff of /gnats/send-pr/send-pr.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.19 by pdm, Sun May 19 20:31:20 2002 UTC revision 1.20 by pdm, Mon May 20 12:25:10 2002 UTC
# Line 168  then Line 168  then
168    ORGANIZATION="$DEFAULT_ORGANIZATION";    ORGANIZATION="$DEFAULT_ORGANIZATION";
169  fi  fi
170    
171  if [ -n "$ORGANIZATION" -a "x$ORGANIZATION" != "xunknown" ]; then  if [ -n "$ORGANIZATION" -a "x$ORGANIZATION" != "xDEFAULT_ORGANIZATIONx" ]; then
172    if [ -f "$ORGANIZATION" ]; then    if [ `echo $ORGANIZATION | fgrep -c /` -gt 0 -a -f "$ORGANIZATION" ]; then
173      ORGANIZATION="`cat $ORGANIZATION`"      ORGANIZATION="`cat $ORGANIZATION`"
174    fi    fi
175    if [ -n "$ORGANIZATION" ]; then  elif [ -f $HOME/.organization ]; then
176      ORGANIZATION="$ORGANIZATION"    ORGANIZATION="`cat $HOME/.organization`"
   elif [ -f $HOME/.organization ]; then  
     ORGANIZATION="`cat $HOME/.organization`"  
   fi  
177  fi  fi
178    
179  if [ "x$ORGANIZATION" = "xunknown" ]; then  if [ "x$ORGANIZATION" = "xDEFAULT_ORGANIZATIONx" ]; then
180    cat <<__EOF__    cat <<__EOF__
181  It seems that send-pr is not installed with your organization set to a useful  It seems that send-pr is not installed with your organization set to a useful
182  value.  To fix this, you need to edit the configuration file  value.  To fix this, you need to edit the configuration file
# Line 188  and fill in the organization with the co Line 185  and fill in the organization with the co
185    
186  __EOF__  __EOF__
187    ORGANIZATION="";    ORGANIZATION="";
188    else
189      DEFAULT_ORGANIZATION="$ORGANIZATION"
190  fi 1>&2  fi 1>&2
191    
192  # If they don't have a preferred editor set, then use  # If they don't have a preferred editor set, then use

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26