Changeset 1952 in subversion


Ignore:
Timestamp:
Oct 7, 2008 9:52:39 AM (5 years ago)
Author:
alec
Message:

#1485456: small improvements in scripts

Location:
trunk/roundcubemail/bin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/bin/dumpschema.php

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

    r666 r1952  
    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.