Skip to content

Commit

Permalink
small fix in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yun-long committed Sep 22, 2020
1 parent 67d5ff5 commit 4b8f535
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flightlib/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def run(self):
# remove cached build files
# a hack to solve some cmake error when using "pip install ."
try:
for i, p in enumerate(glob.glob(os.path.join(FLIGHTLIB_EXTERNAL_FILES, "*"))):
for i, p in enumerate(glob.glob(os.path.join(FLIGHTLIB_BUILD_FILES, "*"))):
shutil.rmtree(p)
print("Removing some cache file: ", p)
except:
Expand Down

0 comments on commit 4b8f535

Please sign in to comment.