WSJT-X/wsjt
Diane Bruce 180a10f985 - 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
2006-09-01 15:09:45 +00:00

16 lines
295 B
Bash
Executable File

#!/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