bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] tar 1.15.1 lib/Makefile falls afoul of pdksh


From: Paul Eggert
Subject: Re: [Bug-tar] tar 1.15.1 lib/Makefile falls afoul of pdksh
Date: Tue, 04 Jan 2005 12:23:10 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

address@hidden (Paul Jarc) writes:

> Upstream, I guess the change would be applied to Makefile.am or
> Makefile.tmpl.

Makefile.tmpl is right.  Thanks for the bug report.  I installed this:

2005-01-04  Paul Eggert  <address@hidden>

        * lib/Makefile.tmpl (localedir.h): Omit needless quotes and a
        needless sed command.  Problem reported by Paul Jarc.

Index: lib/Makefile.tmpl
===================================================================
RCS file: /cvsroot/tar/tar/lib/Makefile.tmpl,v
retrieving revision 1.4
diff -p -u -r1.4 Makefile.tmpl
--- lib/Makefile.tmpl   25 Oct 2004 15:56:20 -0000      1.4
+++ lib/Makefile.tmpl   4 Jan 2005 20:19:18 -0000
@@ -1,6 +1,6 @@
 # Makefile for GNU tar library.
 
-# Copyright (C) 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2003, 2004
+# Copyright (C) 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2003, 2004, 2005
 # Free Software Foundation, Inc.
 
 ## This program is free software; you can redistribute it and/or modify
@@ -28,7 +28,7 @@ DISTCLEANFILES = localedir.h
 localedir.h : Makefile
        echo '#define LOCALEDIR "$(localedir)"' >$@
        echo "#ifndef DEFAULT_RMT_COMMAND" >> $@
-       echo "# define DEFAULT_RMT_COMMAND \"$(DEFAULT_RMT_DIR)/`echo \"rmt\" | 
sed 's,^.*/,,;$(transform)'`$(EXEEXT)\"" >> $@
+       echo "# define DEFAULT_RMT_COMMAND \"$(DEFAULT_RMT_DIR)/`echo rmt | sed 
'$(transform)'`$(EXEEXT)\"" >> $@
        echo "#endif" >> $@
 
 rtapelib.o: localedir.h
@@ -51,6 +51,5 @@ $(srcdir)/getdate.c: getdate.y
          mv -f y.tab.c getdate.c
 
 SUFFIXES = .o .c .h
-CLEANFILES = 
+CLEANFILES =
 # gnulib modules
-




reply via email to

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