Skip to content

Commit

Permalink
Update gef-extras.sh installation script
Browse files Browse the repository at this point in the history
Fixed the path to the `requirements.txt` for `pip install`
  • Loading branch information
hugsy authored Jun 27, 2022
1 parent 430d9d3 commit b2458d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/gef-extras.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ fi

git clone https://github.com/hugsy/gef-extras.git "${DIR}"
ver=$(gdb -q -nx -ex 'pi print(f"{sys.version_info.major}.{sys.version_info.minor}", end="")' -ex quit)
python${ver} -m pip install --requirement "${DIR}"/docs/requirements.txt --upgrade
python${ver} -m pip install --requirement "${DIR}"/requirements.txt --upgrade
gdb -q -ex "gef config gef.extra_plugins_dir '${DIR}/scripts'" \
-ex "gef config pcustom.struct_path '${DIR}/structs'" \
-ex "gef config syscall-args.path '${DIR}/syscall-tables'" \
Expand Down

0 comments on commit b2458d6

Please sign in to comment.