Fix line .gdbinit modification line

Your install instructions say to cd into the top level pwndbg directory and run ./setup.sh. This causes your last popd on line 27 to put you back there, and then line 32 adds an extra /pwndbg/ to the path of gdbinit.py so gdb can't find it on launch.
This commit is contained in:
kernel-sanders 2016-05-26 21:49:19 -04:00
parent 280d7aee55
commit 8e3ec3f22b
1 changed files with 1 additions and 1 deletions

View File

@ -29,5 +29,5 @@ done
# Load Pwndbg into GDB on every launch.
if ! grep pwndbg ~/.gdbinit &>/dev/null; then
echo "source $PWD/pwndbg/gdbinit.py" >> ~/.gdbinit
echo "source $PWD/gdbinit.py" >> ~/.gdbinit
fi