Changeset da402d6 in github


Ignore:
Timestamp:
Oct 7, 2008 9:52:39 AM (5 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
a22cb65
Parents:
27a12ed
Message:

#1485456: small improvements in scripts

Location:
bin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • bin/dumpschema.php

    r1e9cd56 rda402d6  
    11<?php 
    22 
    3 define('INSTALL_PATH', realpath('./../') . '/'); 
     3define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' ); 
    44require INSTALL_PATH.'program/include/iniset.php'; 
    55 
  • bin/makedoc.sh

    r6d969b4 rda402d6  
    44PACKAGES="Core" 
    55 
    6 PATH_PROJECT=$PWD/program/include 
    7 PATH_DOCS=$PWD/doc/phpdoc 
    8 PATH_PHPDOC=/usr/local/php5/bin/phpdoc 
     6INSTALL_PATH="`dirname $0`/.." 
     7PATH_PROJECT=$INSTALL_PATH/program/include 
     8PATH_DOCS=$INSTALL_PATH/doc/phpdoc 
     9 
     10if [ -x /usr/local/php5/bin/phpdoc ] 
     11then 
     12  PATH_PHPDOC=/usr/local/php5/bin/phpdoc 
     13elif [ -x /usr/bin/phpdoc ] 
     14then 
     15  PATH_PHPDOC=/usr/bin/phpdoc 
     16else 
     17  echo "phpdoc not found" 
     18  exit 1 
     19fi 
    920 
    1021OUTPUTFORMAT=HTML 
Note: See TracChangeset for help on using the changeset viewer.