Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

postfixadmin-cli 1.2KB

123456789101112131415161718192021222324252627282930313233343536
  1. #!/bin/bash
  2. ################################################################################
  3. #
  4. # Bake is a shell script for running CakePHP bake script
  5. # PHP versions 4 and 5
  6. #
  7. # CakePHP(tm) : Rapid Development Framework (http://www.cakephp.org)
  8. # Copyright 2005-2007, Cake Software Foundation, Inc.
  9. #
  10. # Licensed under The MIT License
  11. # Redistributions of files must retain the above copyright notice.
  12. #
  13. # @filesource
  14. # @copyright Copyright 2005-2007, Cake Software Foundation, Inc.
  15. # @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
  16. # @package cake
  17. # @subpackage cake.cake.console
  18. # @since CakePHP(tm) v 1.2.0.5012
  19. # @version $Revision$
  20. # @modifiedby $LastChangedBy$
  21. # @lastmodified $Date$
  22. # @license http://www.opensource.org/licenses/mit-license.php The MIT License
  23. #
  24. ################################################################################
  25. # LIB is expected to be relative to this script (inside the PostfixAdmin sources)
  26. # This breaks if you symlink postfixadmin-cli to /usr/bin or alike. Therefore we
  27. # have to follow the symlink to get the correct path.
  28. self="$0"
  29. test -L "$self" && self="`readlink -f \"$self\"`"
  30. LIB="${self/%postfixadmin-cli/}"
  31. exec php -q "${LIB}postfixadmin-cli.php" "$@"
  32. exit;