[Top][All Lists]

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

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

From: Paul Jarc
Subject: [Bug-tar] tar 1.15.1 lib/Makefile falls afoul of pdksh
Date: Wed, 29 Dec 2004 12:30:04 -0500
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux)

My /bin/sh is pdksh, and it handles "`...\"...`" a little differently,
resulting in a build failure for tar-1.15.1.  It appears the problem
can be easily avoided, since the inner quotes are not needed here.
This change to Makefile.in made the build work for me.  Upstream, I
guess the change would be applied to Makefile.am or Makefile.tmpl.

        * lib/Makefile.tmpl: avoid unnecessary quotes that cause
        trouble for pdksh.

diff -ur tar-1.15.1-orig/lib/Makefile.in tar-1.15.1/lib/Makefile.in
--- tar-1.15.1-orig/lib/Makefile.in     2004-12-21 08:30:38.000000000 -0500
+++ tar-1.15.1/lib/Makefile.in  2004-12-29 12:10:09.853486152 -0500
@@ -761,7 +761,7 @@
 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 
's,^.*/,,;$(transform)'`$(EXEEXT)\"" >> $@
        echo "#endif" >> $@
 rtapelib.o: localedir.h


reply via email to

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