- This is a shell wrapper script, suggested by someone on one of the wsjt

lists. It should be portable between linux and FreeBSD at least and
  will create the necessary files needed if they are missing in ~user/.wsjt
  When run, a cd is done to ~/.wsjt and execution begins in this directory.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@267 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Diane Bruce 2006-09-01 15:09:45 +00:00
parent 1341e09b8a
commit 180a10f985

15
wsjt Executable file
View File

@ -0,0 +1,15 @@
#!/bin/sh
if [ -e /usr/local/bin/python ] ; then
LOCALBASE=/usr/local/
else
LOCALBASE=/usr/
fi
if [ ! -e ~/.wsjt ] ; then
mkdir ~/.wsjt
mkdir ~/.wsjt/RxWav
fi
if [ ! -e ~/.wsjt/CALL3.TXT ] ; then
cp -f ${LOCALBASE}/share/wsjt/CALL3.TXT ~/.wsjt
fi
cd ~/.wsjt
python ${LOCALBASE}/bin/wsjt.py