mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 21:25:36 -04:00
Correcting call to remove source dirs.
This commit is contained in:
parent
6ca6ddd758
commit
a39c06c01a
1 changed files with 2 additions and 2 deletions
|
|
@ -97,7 +97,7 @@ def build_dagmc():
|
|||
os.environ['LD_LIBRARY_PATH'] = moab_install_dir+"/lib" + ":" + ld_lib_path
|
||||
|
||||
# remove moab source dir
|
||||
os.rmdir(home_dir + "/MOAB/moab")
|
||||
shutil.rmtree(home_dir + "/MOAB/moab")
|
||||
|
||||
# build dagmc
|
||||
os.chdir(home_dir)
|
||||
|
|
@ -121,7 +121,7 @@ def build_dagmc():
|
|||
os.environ['LD_LIBRARY_PATH'] = dagmc_install_dir+"/lib" + ":" + ld_lib_path
|
||||
|
||||
# remove dagmc source dir
|
||||
os.rmdir(home_dir + "/DAGMC/dagmc")
|
||||
shutil.rmtree(home_dir + "/DAGMC/dagmc")
|
||||
|
||||
# return to original directory
|
||||
os.chdir(current_dir)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue