[Opensrf-commits] r1356 - trunk

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Jul 1 09:06:40 EDT 2008


Author: dbs
Date: 2008-07-01 09:06:37 -0400 (Tue, 01 Jul 2008)
New Revision: 1356

Modified:
   trunk/configure.ac
Log:
Set default for TMP to /tmp (autotools creates its own subdirectory)
  * Ideally this would check for a user's TMPDIR env variable and use that instead


Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac	2008-07-01 03:33:23 UTC (rev 1355)
+++ trunk/configure.ac	2008-07-01 13:06:37 UTC (rev 1356)
@@ -36,7 +36,7 @@
         PYTHON="python"
     fi
     AC_MSG_CHECKING($PYTHON_NAME module: $1)
-        $PYTHON -c "import $1" 2>/tmp/null
+        $PYTHON -c "import $1" 2>/dev/null
         if test $? -eq 0;
         then
                 AC_MSG_RESULT(yes)
@@ -125,9 +125,9 @@
 # Set install path variables
 #------------------------------
 AC_ARG_WITH([tmp],
-[  --with-tmp=path              location for the tmp dir for openSRF (/tmp/osrftmp by default)],
+[  --with-tmp=path              location for the tmp dir for openSRF (default is /tmp)],
 [TMP=${withval}],
-[TMP=/tmp/osrftmp])
+[TMP=/tmp])
 AC_SUBST([TMP])
 
 AC_ARG_WITH([apxs],



More information about the opensrf-commits mailing list