Skip to content

Commit

Permalink
fix stupid lib stuff at verification
Browse files Browse the repository at this point in the history
  • Loading branch information
zardus committed Nov 17, 2024
1 parent a8a9804 commit 493f3cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pwnshop/challenge.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,8 @@ def pin_libraries(self):
os.unlink(self.DEPLOYMENT_LIB_PATH)
if not os.path.exists(os.path.dirname(self.DEPLOYMENT_LIB_PATH)):
os.makedirs(os.path.dirname(self.DEPLOYMENT_LIB_PATH))
if os.path.islink(self.DEPLOYMENT_LIB_PATH):
os.unlink(self.DEPLOYMENT_LIB_PATH)
os.symlink(self.work_dir+"/lib", self.DEPLOYMENT_LIB_PATH)

return libs
Expand Down

0 comments on commit 493f3cc

Please sign in to comment.