[MOD] STR #4097: Bashism in install-sh
Till Kamppeter <[email protected]>
| Newsgroups | gmane.comp.printing.cups.bugs |
|---|---|
| Message-ID | <[email protected]> |
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] install-sh works only with bash currently, not with sh or dash. Patch attached. Link: http://www.cups.org/str.php?L4097 Version: 1.5.3 _______________________________________________ cups-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/cups-bugs
install-sh-remove-bashism.patch
(text/plain, 201 B)
--- a/install-sh
+++ b/install-sh
@@ -61,10 +61,10 @@
dst=""
dir_arg=""
-function gzipcp {
+gzipcp () (
# gzipcp from to
$gzipprog -9 <"$1" >"$2"
-}
+)
while [ x"$1" != x ]; do
case $1 in