[97234] trunk/base/aclocal.m4

cal at macports.org cal at macports.org
Fri Aug 31 11:34:15 PDT 2012


Revision: 97234
          https://trac.macports.org/changeset/97234
Author:   cal at macports.org
Date:     2012-08-31 11:34:14 -0700 (Fri, 31 Aug 2012)
Log Message:
-----------
base: fix configure error when sysconfdir contains spaces

Modified Paths:
--------------
    trunk/base/aclocal.m4

Modified: trunk/base/aclocal.m4
===================================================================
--- trunk/base/aclocal.m4	2012-08-31 18:21:20 UTC (rev 97233)
+++ trunk/base/aclocal.m4	2012-08-31 18:34:14 UTC (rev 97234)
@@ -295,7 +295,7 @@
 	AC_MSG_CHECKING([that any existing MacPorts install can be upgraded])
 
 	eval dpversionfile="${sysconfdir}/ports/dp_version"
-	if test -f $dpversionfile; then
+	if test -f "$dpversionfile"; then
 		AC_MSG_ERROR([Existing MacPorts or DarwinPorts install is too old to be upgraded. Install MacPorts 1.7.1 first.])
 	else
 		AC_MSG_RESULT([yes])
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120831/cd0d2172/attachment-0001.html>


More information about the macports-changes mailing list