12345678910111213141516171819202122232425262728293031323334 |
- $OpenBSD: patch-run_gettle,v 1.3 2010/08/26 11:12:46 jasper Exp $
- --- run/gettle.orig Wed Mar 15 05:26:06 1995
- +++ run/gettle Tue Dec 18 09:53:05 2007
- @@ -24,18 +24,21 @@
- #
- #
- #
- -set ftphost=129.92.1.66
- -set satdir=/home/manfred
- -set satuser=manfred
- +set ftphost=archive.afit.af.mil
- +set satdir=${PREFIX}/lib
- +set satuser=sattrack
- #
- #
- #
- -set userid=$USER@`hostname`.`domainname`
- +set hostdot=`hostname | grep '\.'`
- +if ("$hostdot" == "") then
- + set userid=$USER@`hostname`.`domainname`
- +else
- + set userid=$USER@`hostname`
- +endif
- #
- -if ($USER == $satuser) then
- - set satdirusr=$satdir
- - else
- - set satdirusr=$HOME
- +set satdirusr=$satdir
- +if (! -d $satdirusr/SatTrack/tle) then
- mkdir -p $satdirusr/SatTrack/tle
- endif
- #
|