File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh -ex
22bundle install
33rm db/modules_metadata_base.json
4- git ls-files modules/ -z | xargs -0 -n1 -I{} -- git log -1 --format=" %ai {}" {} | while read -r udate utime utz ufile ; do
4+ git ls-files modules/ -z | xargs -0 -n1 -P ` nproc ` - I{} -- git log -1 --format=" %ai {}" {} | while read -r udate utime utz ufile ; do
55 touch -d " $udate $utime " $ufile
66done
77./msfconsole -qr tools/automation/cache/wait_for_cache.rc
Original file line number Diff line number Diff line change @@ -17,4 +17,4 @@ IMG='metasploitframework/metasploit-framework:latest'
1717docker run --rm=true --tty \
1818 --volume=` pwd` :/r7-source \
1919 --workdir=/r7-source ${IMG} \
20- /bin/sh -c ./tools/automation/cache/build_new_cache.sh
20+ /bin/sh -c ' time ./tools/automation/cache/build_new_cache.sh'
You can’t perform that action at this time.
0 commit comments