bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sharutils-4.3.74: first_param and no-i18n


From: Jan Wender
Subject: sharutils-4.3.74: first_param and no-i18n
Date: Wed, 6 Nov 2002 08:36:25 +0100
User-agent: Mutt/1.3.25i

Hi,
in sharutils-4.3.74 (and earlier versions, at least 4.2.1) there is a
bug if you use the --no-i18n-flag. The line which sets the variable
first_param in the shell script is only output in i18n-mode.
Patch:
diff -Naur sharutils-4.3.74/src/shar.c sharutils-4.3.74-1/src/shar.c
--- sharutils-4.3.74/src/shar.c Thu Jul 18 19:24:57 2002
+++ sharutils-4.3.74-1/src/shar.c Wed Nov  6 07:26:14 2002
@@ -506,7 +506,7 @@
 generate_configure ()
 {
   if (no_i18n)
-    fputs ("echo=echo\n", output);
+    fputs ("echo=echo\nfirst_param=\"$1\"\n", output);
   else
     {
       fprintf (output, "\

Cheerio,
-- 
address@hidden  -  Fon +4970719457-257 Fax-211
science+computing ag - Hagellocher Weg 71-75 - 72070 Tübingen
Zope appeals to people that have a design brain, and turns off people that just
want to be given a printf, thank you very much. (Paul Everitt, Digicool)

Attachment: pgplBZzWqlkUZ.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]