mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-26 22:28:41 -05:00
- 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:
parent
1341e09b8a
commit
180a10f985
15
wsjt
Executable file
15
wsjt
Executable 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
|
Loading…
Reference in New Issue
Block a user