mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-07-12 16:12:45 +02:00
don't use '-r' on sed
This commit is contained in:
+1
-1
@@ -31,7 +31,7 @@ anti_newline() {
|
|||||||
|
|
||||||
urlbase64() {
|
urlbase64() {
|
||||||
# urlbase64: base64 encoded string with '+' replaced with '-' and '/' replaced with '_'
|
# urlbase64: base64 encoded string with '+' replaced with '-' and '/' replaced with '_'
|
||||||
openssl base64 -e | anti_newline | sed -r 's/=*$//g' | tr '+/' '-_'
|
openssl base64 -e | anti_newline | sed 's/=*$//g' | tr '+/' '-_'
|
||||||
}
|
}
|
||||||
|
|
||||||
hex2bin() {
|
hex2bin() {
|
||||||
|
|||||||
Reference in New Issue
Block a user