From 59ba473b8d0dfdf6c6ec8c009eebaa915e7757d5 Mon Sep 17 00:00:00 2001 From: Justsoos Date: Mon, 4 Jun 2018 07:18:53 +0800 Subject: [PATCH] tsocks: Fix sed statement (#2475) --- packages/tsocks/tsocks.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tsocks/tsocks.patch b/packages/tsocks/tsocks.patch index 8f19b072e..dc046f8c3 100644 --- a/packages/tsocks/tsocks.patch +++ b/packages/tsocks/tsocks.patch @@ -17,7 +17,7 @@ index 8380d9c..7d1df7a 100755 ;; off) - export LD_PRELOAD=`echo -n $LD_PRELOAD | sed 's/\/usr\/lib\/libtsocks.so \?//'` -+ export LD_PRELOAD=`echo -n $LD_PRELOAD | sed "s:$PREFIX/lib/libtsocks.so \?::"` ++ export LD_PRELOAD=`echo -n $LD_PRELOAD | sed "s:$PREFIX/lib/libtsocks.so *::"` if [ -z "$LD_PRELOAD" ] then unset LD_PRELOAD