mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-03 07:51:16 -05:00
758bb494d5
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
16 lines
295 B
Bash
Executable File
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
|