cvs: pearweb /cron apidoc-queue.php
| From: | Martin Jansen | Date: | Fri, 30 Sep 2005 13:51:02 +0000 |
| Subject: | cvs: pearweb /cron apidoc-queue.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-35174@lists.php.net to get a copy of this message | ||
mj Fri Sep 30 09:51:02 2005 EDT
Modified files:
/pearweb/cron apidoc-queue.php
Log:
* Looks like with some upgrade of the coreutils the behaviour of ln(1)
changed with regard to symlinking some directory to another existing
directory. Passing the "-h" command line option restores the old
behaviour.
http://cvs.php.net/diff.php/pearweb/cron/apidoc-queue.php?r1=1.12&r2=1.13&ty=u
Index: pearweb/cron/apidoc-queue.php
diff -u pearweb/cron/apidoc-queue.php:1.12 pearweb/cron/apidoc-queue.php:1.13
--- pearweb/cron/apidoc-queue.php:1.12 Thu Jun 16 10:18:03 2005
+++ pearweb/cron/apidoc-queue.php Fri Sep 30 09:50:59 2005
@@ -17,7 +17,7 @@
* | Author: Martin Jansen <mj@php.net> |
* +----------------------------------------------------------------------+
*
- * $Id: apidoc-queue.php,v 1.12 2005/06/16 14:18:03 mj Exp $
+ * $Id: apidoc-queue.php,v 1.13 2005/09/30 13:50:59 mj Exp $
*/
require_once dirname(__FILE__) . "/../include/pear-config.php";
@@ -75,7 +75,7 @@
}
pclose($process);
- $cmd = sprintf("ln -sf %s/%s-%s %s/%s-latest",
+ $cmd = sprintf("ln -shf %s/%s-%s %s/%s-latest",
PEAR_APIDOC_DIR,
$name,
$info['version'],