6a2195c3a5
Foomatic filters contained a 64-char c string hardcoded to /bin/bash. This caused some filters (at least pdftops) to fail. I also had to increase the size of the string because nix paths are too long.
14 lines
529 B
Diff
14 lines
529 B
Diff
diff --git a/filter/foomatic-rip/foomaticrip.c b/filter/foomatic-rip/foomaticrip.c
|
|
index 1c019aa..431d2f9 100644
|
|
--- a/filter/foomatic-rip/foomaticrip.c
|
|
+++ b/filter/foomatic-rip/foomaticrip.c
|
|
@@ -174,7 +174,7 @@ char cupsfilterpath[PATH_MAX] = "/usr/local/lib/cups/filter:"
|
|
"/opt/cups/filter:"
|
|
"/usr/lib/cups/filter";
|
|
|
|
-char modern_shell[64] = "/bin/bash";
|
|
+char modern_shell[128] = "/bin/bash";
|
|
|
|
void config_set_option(const char *key, const char *value)
|
|
{
|