提交 416418fe 编辑于 作者: Mijian Xu's avatar Mijian Xu 😷
浏览文件

Add a install script

上级 7c10f6c7
*.pyc
bin/updateCatalog
bin/bqmail
bin/bqmail_continue
bin/searchDMC
#!/bin/bash
mkdir ./bin
ln -s `pwd`/bqmail.py `pwd`/bin/bqmail
ln -s `pwd`/searchDMC.py `pwd`/bin/searchDMC
ln -s `pwd`/updateCatalog.py `pwd`/bin/updateCatalog
ln -s `pwd`/bqmail_continue.py `pwd`/bin/bqmail_continue
if [ `uname` == "Darwin" ]; then
echo "export PATH=`pwd`/bin:\$PATH" >> ~/.bash_profile
else
echo "export PATH=`pwd`/bin:\$PATH" >> ~/.bashrc
fi
exec $SHELL -l
......@@ -21,7 +21,7 @@ import sys, getopt
import glob
def Usage():
print('Usage: python searchlalo.py -NNetwork -Sstation -Rlon1/lon2/lat1/lat2 -Dlon/lat/dis1/dis2 -Yyear1/mon1/day1/year2/mon2/day2 -Cchannel -K')
print('Usage: python searchDMC.py -NNetwork -Sstation -Rlon1/lon2/lat1/lat2 -Dlon/lat/dis1/dis2 -Yyear1/mon1/day1/year2/mon2/day2 -Cchannel -K')
print('-N -- Network.')
print('-S -- Station.')
print('-R -- Search range.')
......
......@@ -6,7 +6,7 @@ try:
except:
import urllib as rq
import re
import sys, getopt, time, os
import sys, getopt, os
import datetime
def Usage():
......
支持 Markdown
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册