123456789101112131415161718192021222324252627282930313233343536 |
- $OpenBSD: patch-run_getsts,v 1.3 2010/08/26 11:12:46 jasper Exp $
- --- run/getsts.orig Tue Jan 14 20:21:06 1997
- +++ run/getsts Tue Dec 18 09:53:05 2007
- @@ -24,19 +24,22 @@
- #
- set stsnum=81
- set prelaunch=0
- -set ftphost=192.149.89.61
- -set satdir=/home/manfred
- -set satuser=manfred
- +set ftphost=spacelink.msfc.nasa.gov
- +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
- - mkdir -p $HOME/SatTrack/tle
- +set satdirusr=$satdir
- +if (! -d $satdirusr/SatTrack/tle) then
- + mkdir -p $satdirusr/SatTrack/tle
- endif
- #
- cd $satdirusr/SatTrack/tle
|