Commit 2d071ccd authored by Mijian Xu's avatar Mijian Xu 😷
Browse files


parent b1a90487
......@@ -8,7 +8,10 @@
import os
import urllib.request as rq
import urllib.request as rq
import urllib as rq
import re
from multiprocessing.dummy import Pool as ThreadPool
import subprocess
......@@ -51,7 +54,7 @@ find_re = re.compile(r'href=.+?>',re.DOTALL)
for line in find_re.findall(content):
if line.find("seed") > 0:
lstpath = os.path.expanduser("~"),".IRIS.lst")
lstpath = os.path.join(os.path.expanduser("~"),".IRIS.lst")
if not os.path.exists(lstpath):
os.mknod(lstpath, mode=0o600)
with open(listpath, "r+") as f:
......@@ -4,6 +4,7 @@ ln -s `pwd`/ `pwd`/bin/bqmail
ln -s `pwd`/ `pwd`/bin/searchDMC
ln -s `pwd`/ `pwd`/bin/updateCatalog
ln -s `pwd`/ `pwd`/bin/bqmail_conti
ln -s `pwd`/ `pwd`/bin/download_seed
if [ `uname` == "Darwin" ]; then
if grep "export PATH=`pwd`/bin:\$PATH" ~/.bash_profile
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment