cvs: pearweb /public_html go-pear
| From: | Greg Beaver | Date: | Fri, 22 Oct 2004 05:34:32 +0000 |
| Subject: | cvs: pearweb /public_html go-pear | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-1114@lists.php.net to get a copy of this message | ||
cellog Fri Oct 22 01:34:32 2004 EDT
Modified files:
/pearweb/public_html go-pear
Log:
fix #2070 leading slash kills windows install
http://cvs.php.net/diff.php/pearweb/public_html/go-pear?r1=1.68&r2=1.69&ty=u
Index: pearweb/public_html/go-pear
diff -u pearweb/public_html/go-pear:1.68 pearweb/public_html/go-pear:1.69
--- pearweb/public_html/go-pear:1.68 Fri Oct 15 11:27:48 2004
+++ pearweb/public_html/go-pear Fri Oct 22 01:34:31 2004
@@ -17,7 +17,7 @@
# | Christian Dickmann <dickmann@php.net> |
# | Pierre-Alain Joye <pajoye@pearfr.org> |
# +----------------------------------------------------------------------+
-# $Id: go-pear,v 1.68 2004/10/15 15:27:48 cellog Exp $
+# $Id: go-pear,v 1.69 2004/10/22 05:34:31 cellog Exp $
#
# Automatically download all the files needed to run the "pear" command
# (the PEAR package installer). Requires PHP 4.1.0 or newer.
@@ -86,7 +86,7 @@
ini_set('magic_quotes_runtime', false);
error_reporting( E_ALL & ~E_NOTICE);
define('WINDOWS', (substr(PHP_OS, 0, 3) == 'WIN'));
-define('GO_PEAR_VER', '0.4.1');
+define('GO_PEAR_VER', '0.4.2');
define('WIN32GUI', !WEBINSTALLER && WINDOWS &&
$sapi_name=='cli' && which('cscript'));
@@ -376,7 +376,8 @@
# Temp stuff
####
-$foo = tmp_dir();
+tmp_dir();
+$foo = $ptmp;
$ptmp = tempnam($foo, 'gope');
if (WINDOWS) {
$ptmp = str_replace($foo,'',$ptmp);