bootstrap on Solaris

Eric Blake <[email protected]>
Newsgroups gmane.comp.gnu.m4.patches
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

/bin/sh on Solaris doesn't grok the POSIX-mandated ': ${RM=rm -f}'; the
solution is to follow autoconf's advice and quote the space.  I'm
committing this on all branches.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             [email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkjPnf8ACgkQ84KuGfSFAYA+aQCfXUw6/Iki8g0ch8Jv1cjgCgz4
oHIAn2jI9/+73DEirIujtsS5t4vGMwNT
=6A59
-----END PGP SIGNATURE-----

_______________________________________________
M4-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/m4-patches
m4.patch376 (text/plain, 1.2 KB)
From ce29ff7a556f2ddd44263caa1123346f7af2d80a Mon Sep 17 00:00:00 2001
From: Eric Blake <[email protected]>
Date: Tue, 16 Sep 2008 05:51:41 -0600
Subject: [PATCH] Fix bootstrap for Solaris /bin/sh.

* bootstrap: Avoid shell quoting pitfall.

Signed-off-by: Eric Blake <[email protected]>
---
 ChangeLog |    5 +++++
 bootstrap |    4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 7ffd356..258bb77 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-09-16  Eric Blake  <[email protected]>
+
+	Fix bootstrap for Solaris /bin/sh.
+	* bootstrap: Avoid shell quoting pitfall.
+
 2008-09-01  Eric Blake  <[email protected]>
 
 	Fix building with -DDEBUG=1.
diff --git a/bootstrap b/bootstrap
index 4816972..f3a672e 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# bootstrap (GNU M4) version 2008-08-15
+# bootstrap (GNU M4) version 2008-09-16
 # Written by Gary V. Vaughan  <[email protected]>
 
 # Copyright (C) 2004, 2005, 2006, 2007, 2008 Free Software Foundation,
@@ -40,7 +40,7 @@
 
 : ${AUTORECONF=autoreconf}
 : ${GNULIB_TOOL=gnulib-tool}
-: ${RM=rm -f}
+: ${RM='rm -f'}
 : ${SED=sed}
 
 # Ensure file names are sorted consistently across platforms.
-- 
1.6.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.