Skip to content

Commit

Permalink
Update johntheripper.py: Revert AFTER_COMMANDS
Browse files Browse the repository at this point in the history
Revert to trustedsec@1c7d45b. This change was lost in moving johntheripper.py from a prior folder (trustedsec@6566bd3). 

This is also the first time I've suggested using backticks (for `nproc`). It worked in my local testing, but I could've missed an error message from `make`, I suppose.
  • Loading branch information
jeffmcjunkin authored Mar 17, 2017
1 parent ab38091 commit 0aa08b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/password-recovery/johntheripper.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
DEBIAN="git libgmp3-dev git lzip gcc-multilib make m4 mingw-w64"

# COMMANDS TO RUN AFTER
AFTER_COMMANDS="cd {INSTALL_LOCATION}src,./configure,make"
AFTER_COMMANDS="cd {INSTALL_LOCATION},cd src,./configure && make -j `nproc` && make install,cd {INSTALL_LOCATION},cp -a run/* {INSTALL_LOCATION},rm -rf run/"


# DONT RUN AFTER COMMANDS ON UPDATE
Expand Down

0 comments on commit 0aa08b1

Please sign in to comment.