|
Line 0
Link Here
|
|
|
1 |
--- include/Utils.awk.orig 2020-10-15 13:53:06 UTC |
| 2 |
+++ include/Utils.awk |
| 3 |
@@ -233,6 +233,8 @@ function dumpX(text, group, command, temp) { |
| 4 |
function base64(text, command, temp) { |
| 5 |
if (detectProgram("uname", "-s", 1) == "Linux") # GNU base64 wraps lines by default |
| 6 |
command = "echo -n " parameterize(text) PIPE "base64 -w0" |
| 7 |
+ if (detectProgram("gbase64", "--version")) # GNU base64 is sometimes available as gbase64 |
| 8 |
+ command = "echo -n " parameterize(text) PIPE "gbase64 -w0" |
| 9 |
else |
| 10 |
command = "echo -n " parameterize(text) PIPE "base64" |
| 11 |
command = "bash -c " parameterize(command, "\"") |