Commit 1b1e47b8 authored by Andrey Filippov's avatar Andrey Filippov

fixed bug - did not run generate_c.sh/copy files

parent 1972c36e
...@@ -247,16 +247,15 @@ for p,v in Projects.items(): ...@@ -247,16 +247,15 @@ for p,v in Projects.items():
copy_eclipse_settings(k) copy_eclipse_settings(k)
#special case for x393 fpga project #special case for x393 fpga project
if p=="x393": if k=="x393":
if os.path.isfile(k+"/py393/generate_c.sh"): if os.path.isfile(k+"/py393/generate_c.sh"):
subcwd = os.getcwd() subcwd = os.getcwd()
os.chdir(subcwd+"/"+k+"/py393") os.chdir(subcwd+"/"+k+"/py393")
shout("./generate_c.sh") shout("./generate_c.sh")
os.chdir(subcwd) os.chdir(subcwd)
if os.path.isdir(k+"/generated"): if os.path.isdir(k+"/py393/generated"):
if os.path.isdir(cwd+"/linux-elphel/src/drivers/elphel"): if os.path.isdir(cwd+"/linux-elphel/src/drivers/elphel"):
shout("rsync -a "+k+"/generated "+cwd+"/linux-elphel/src/drivers/elphel") shout("rsync -a "+k+"/py393/generated/ "+cwd+"/linux-elphel/src/drivers/elphel")
os.chdir(cwd) os.chdir(cwd)
elif isinstance(v,list): elif isinstance(v,list):
......
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