Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tsocks
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ case "$1" in
off)
unset DYLD_FORCE_FLAT_NAMESPACE
echo "Removing ${SHLIB} from DYLD_INSERT_LIBRARIES ..."
export DYLD_INSERT_LIBRARIES=`echo -n $DYLD_INSERT_LIBRARIES | sed 's#/lib/libtsocks\.dylib *##'`
export DYLD_INSERT_LIBRARIES=`echo -n $DYLD_INSERT_LIBRARIES | sed "s#${SHLIB//./\\.} *##"`
if [ -z "$DYLD_INSERT_LIBRARIES" ]
then
unset DYLD_INSERT_LIBRARIES
Expand Down