Commit 4a6dc45d authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

don't like link to scripts in metas

parent e8cf6029
...@@ -82,11 +82,6 @@ def copy_eclipse_settings(name,return_path): ...@@ -82,11 +82,6 @@ def copy_eclipse_settings(name,return_path):
print(bcolors.WARNING+" Copying "+name+"/"+EPS+" to "+name+"/"+bcolors.ENDC) print(bcolors.WARNING+" Copying "+name+"/"+EPS+" to "+name+"/"+bcolors.ENDC)
shout("rsync -av "+name+"/"+EPS+"/ "+name+"/") shout("rsync -av "+name+"/"+EPS+"/ "+name+"/")
if not os.path.isdir(name+"/"+EPS):
print("Not copying up files for Eclipse project: not an Eclipse project")
elif os.path.isfile(name+"/.project"):
print("Not copying up files for Eclipse project: .project is already there")
# it does not have to be an Eclipse project # it does not have to be an Eclipse project
if (not os.path.islink(name+"/scripts")): if (not os.path.islink(name+"/scripts")):
# sub all character line into '..', keep '/' # sub all character line into '..', keep '/'
...@@ -96,6 +91,12 @@ def copy_eclipse_settings(name,return_path): ...@@ -96,6 +91,12 @@ def copy_eclipse_settings(name,return_path):
print("Linked scripts/ to project") print("Linked scripts/ to project")
if not os.path.isdir(name+"/"+EPS):
print("Not copying up files for Eclipse project: not an Eclipse project")
elif os.path.isfile(name+"/.project"):
print("Not copying up files for Eclipse project: .project is already there")
def read_local_conf(conf_file,pattern): def read_local_conf(conf_file,pattern):
ret = [] ret = []
if os.path.isfile(conf_file): if os.path.isfile(conf_file):
......
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