diff --git a/chrome/curl_chrome100 b/chrome/curl_chrome100 index cd7cc0e..6c757bc 100755 --- a/chrome/curl_chrome100 +++ b/chrome/curl_chrome100 @@ -1,7 +1,7 @@ #!/bin/bash # Find the directory of this script -dir=`echo "$0" | sed 's%/[^/]*$%%'` +dir=${0%/*} # The list of ciphers can be obtained by looking at the Client Hello message in # Wireshark, then converting it using this reference diff --git a/chrome/curl_chrome101 b/chrome/curl_chrome101 index 64ddcc4..4a52589 100755 --- a/chrome/curl_chrome101 +++ b/chrome/curl_chrome101 @@ -1,7 +1,7 @@ #!/bin/bash # Find the directory of this script -dir=`echo "$0" | sed 's%/[^/]*$%%'` +dir=${0%/*} # The list of ciphers can be obtained by looking at the Client Hello message in # Wireshark, then converting it using this reference diff --git a/chrome/curl_chrome99 b/chrome/curl_chrome99 index 3fa6161..427b82c 100755 --- a/chrome/curl_chrome99 +++ b/chrome/curl_chrome99 @@ -1,7 +1,7 @@ #!/bin/bash # Find the directory of this script -dir=`echo "$0" | sed 's%/[^/]*$%%'` +dir=${0%/*} # The list of ciphers can be obtained by looking at the Client Hello message in # Wireshark, then converting it using this reference diff --git a/chrome/curl_chrome99_android b/chrome/curl_chrome99_android index 55e120c..5c04273 100755 --- a/chrome/curl_chrome99_android +++ b/chrome/curl_chrome99_android @@ -1,7 +1,7 @@ #!/bin/bash # Find the directory of this script -dir=`echo "$0" | sed 's%/[^/]*$%%'` +dir=${0%/*} # The list of ciphers can be obtained by looking at the Client Hello message in # Wireshark, then converting it using this reference diff --git a/chrome/curl_edge101 b/chrome/curl_edge101 index 359a848..e07c1b2 100755 --- a/chrome/curl_edge101 +++ b/chrome/curl_edge101 @@ -1,7 +1,7 @@ #!/bin/bash # Find the directory of this script -dir=`echo "$0" | sed 's%/[^/]*$%%'` +dir=${0%/*} # The list of ciphers can be obtained by looking at the Client Hello message in # Wireshark, then converting it using this reference diff --git a/chrome/curl_edge99 b/chrome/curl_edge99 index 3aad1c8..e4c9698 100755 --- a/chrome/curl_edge99 +++ b/chrome/curl_edge99 @@ -1,7 +1,7 @@ #!/bin/bash # Find the directory of this script -dir=`echo "$0" | sed 's%/[^/]*$%%'` +dir=${0%/*} # The list of ciphers can be obtained by looking at the Client Hello message in # Wireshark, then converting it using this reference diff --git a/chrome/curl_safari15_3 b/chrome/curl_safari15_3 index 6d08ead..50163a7 100755 --- a/chrome/curl_safari15_3 +++ b/chrome/curl_safari15_3 @@ -1,7 +1,7 @@ #!/bin/bash # Find the directory of this script -dir=`echo "$0" | sed 's%/[^/]*$%%'` +dir=${0%/*} # The list of ciphers can be obtained by looking at the Client Hello message in # Wireshark, then converting it using this reference diff --git a/firefox/curl_ff100 b/firefox/curl_ff100 index b11a177..35b7067 100755 --- a/firefox/curl_ff100 +++ b/firefox/curl_ff100 @@ -1,7 +1,7 @@ #!/bin/bash # Find the directory of this script -dir=`echo "$0" | sed 's%/[^/]*$%%'` +dir=${0%/*} # The list of ciphers can be obtained by looking at the Client Hello message in # Wireshark, then converting it using the cipherlist array at diff --git a/firefox/curl_ff91esr b/firefox/curl_ff91esr index 4862a96..03d7dbd 100755 --- a/firefox/curl_ff91esr +++ b/firefox/curl_ff91esr @@ -1,7 +1,7 @@ #!/bin/bash # Find the directory of this script -dir=`echo "$0" | sed 's%/[^/]*$%%'` +dir=${0%/*} # The list of ciphers can be obtained by looking at the Client Hello message in # Wireshark, then converting it using the cipherlist array at diff --git a/firefox/curl_ff95 b/firefox/curl_ff95 index a433a8c..a3a6238 100755 --- a/firefox/curl_ff95 +++ b/firefox/curl_ff95 @@ -1,7 +1,7 @@ #!/bin/bash # Find the directory of this script -dir=`echo "$0" | sed 's%/[^/]*$%%'` +dir=${0%/*} # The list of ciphers can be obtained by looking at the Client Hello message in # Wireshark, then converting it using the cipherlist array at diff --git a/firefox/curl_ff98 b/firefox/curl_ff98 index b9b08d4..087e41d 100755 --- a/firefox/curl_ff98 +++ b/firefox/curl_ff98 @@ -1,7 +1,7 @@ #!/bin/bash # Find the directory of this script -dir=`echo "$0" | sed 's%/[^/]*$%%'` +dir=${0%/*} # The list of ciphers can be obtained by looking at the Client Hello message in # Wireshark, then converting it using the cipherlist array at