Hi John,

> Solaris 2.8 sh:
>
> /bin/sh: 
> PATH=/export/home/all/johnv/workpits/quilt-compat/compat:/opt/oracle/product/8.1.7.4/bin:/opt/SUNWspro/bin/:/home/johnv/bin:/local/bin:/usr/local/bin:/usr/local/etc:/bin:/usr/bin:/usr/ucb:/usr/ccs/bin:/usr/local/acu:/usr/X11/bin:/usr/openwin/bin:/usr/local/teas:
> is not an identifier
> make[1]: *** [reference] Error 1
>
> This one has me scratching my head at the moment.  While it would be
> great to know why,

Easy, standard sh doesn't support variable assignation and export at
once, you have to do:
VAR=value
export VAR

Patch is attached.

--
Jean Delvare
 Makefile.in |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

--- quilt.orig/Makefile.in      2005-09-20 10:48:50.000000000 +0200
+++ quilt/Makefile.in   2005-09-20 10:58:17.000000000 +0200
@@ -180,8 +180,9 @@
 
 doc/quilt.1: doc/quilt.1.in $(QUILT:%=quilt/%) compat-programs
        @echo "quilt.1.in -> quilt.1"
-       @export PATH="`pwd`/compat:$$PATH";             \
-       here=`pwd`;                                     \
+       @here=`pwd`;                                     \
+       PATH="$$here/compat:$$PATH";                     \
+       export PATH;                                     \
         while read line; do                             \
          case "$$line" in                               \
            '@REFERENCE''@')                             \
@@ -209,7 +210,8 @@
 
 .PHONY :: reference
 reference : $(QUILT:%=quilt/%) compat-programs scripts/patchfns
-       @export PATH="`pwd`/compat:$$PATH"; \
+       @PATH="`pwd`/compat:$$PATH"; \
+       export PATH; \
        dir=$(CURDIR); \
        for i in $(QUILT:%=quilt/%); \
        do \
_______________________________________________
Quilt-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/quilt-dev

Reply via email to