Skip to content

Commit

Permalink
update dsocks revision
Browse files Browse the repository at this point in the history
  • Loading branch information
zjx20 committed Sep 10, 2022
1 parent 31d783b commit bd151e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions sh/bootstrap-dsocks.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
GIT_REPO="https://github.com/zjx20/dsocks.git"
REVISION="655f734c8ffc5657a691c839cc67bb46c032a2f0"
REVISION="527ce0df5b519e5dca70a4c44d10b148bda67a1c"

cd "${CURRENT_DIR}/.."
[ ! -d dsocks ] && git clone "${GIT_REPO}"
Expand All @@ -10,7 +10,7 @@ if [ -d dsocks ]; then
cd dsocks
if [ ! -f libdsocks.so ] || [ "$(git rev-parse HEAD)" != "${REVISION}" ]; then
git reset --hard HEAD && git fetch && git checkout "${REVISION}"
./compile.sh
./compile.sh -f
fi
fi

Expand Down
4 changes: 2 additions & 2 deletions socksproxyenv.sample
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ LOAD_SUPPORT ssh
# # socksify the curl command
# SOCKSIFY curl
#
# # specifying "/usr/bin/env python" as the entrypoint of the socksified cmd.
# SOCKSIFY python3 /usr/bin/env python3
# # the second form accepts extra parameters as the entrypoint of the cmd.
# SOCKSIFY python3 /opt/homebrew/bin/python3
#
# Assume that you had socksified the "python3" command, you can check your
# external ip by running:
Expand Down

0 comments on commit bd151e5

Please sign in to comment.