cvs: pearweb /public_html go-pear
| From: | Pierre-Alain Joye | Date: | Wed, 19 Apr 2006 12:01:25 +0000 |
| Subject: | cvs: pearweb /public_html go-pear | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-4732@lists.php.net to get a copy of this message | ||
pajoye Wed Apr 19 12:01:25 2006 UTC
Modified files:
/pearweb/public_html go-pear
Log:
- initiliaze tmp_dir
http://cvs.php.net/viewcvs.cgi/pearweb/public_html/go-pear?r1=1.83&r2=1.84&diff_format=u
Index: pearweb/public_html/go-pear
diff -u pearweb/public_html/go-pear:1.83 pearweb/public_html/go-pear:1.84
--- pearweb/public_html/go-pear:1.83 Mon Apr 17 22:48:19 2006
+++ pearweb/public_html/go-pear Wed Apr 19 12:01:25 2006
@@ -18,7 +18,7 @@
# | Pierre-Alain Joye <pierre@php.net> |
# | Greg Beaver <cellog@php.net> |
# +----------------------------------------------------------------------+
-# $Id: go-pear,v 1.83 2006/04/17 22:48:19 pajoye Exp $
+# $Id: go-pear,v 1.84 2006/04/19 12:01:25 pajoye Exp $
#
# Automatically download all the files needed to run the "pear" command
# (the PEAR package installer). Requires PHP 4.1.0 or newer.
@@ -450,6 +450,7 @@
rm_rf($ptmp);
mkdir_p($ptmp, 0700);
$ok = @chdir($ptmp);
+$tmp_dir = $ptmp;
while (!WEBINSTALLER) {
print "
@@ -1221,7 +1222,7 @@
};
$_ENV['TMPDIR'] = $_ENV['TEMP'] = $prefix.'/tmp';
}
- $ptmp = $_temp;
+ $tmp_dir = $ptmp = $_temp;
}
// }}}