diff options
Diffstat (limited to 'dev-php/agavi/files')
-rw-r--r-- | dev-php/agavi/files/agavi-executable | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-php/agavi/files/agavi-executable b/dev-php/agavi/files/agavi-executable new file mode 100644 index 000000000000..06405d6ca2e7 --- /dev/null +++ b/dev-php/agavi/files/agavi-executable @@ -0,0 +1,14 @@ +#!/bin/sh +# +# A (heavily) modified version of the agavi-dist script shipped with +# the Agavi package. +# + +# Set this to the path to the Agavi installation's source directory. This is +# the directory that contains the `agavi.php' file. +AGAVI_SOURCE_DIRECTORY="/usr/share/php/agavi" + +php -d memory_limit=2G \ + -f "${AGAVI_SOURCE_DIRECTORY}/build/agavi/script/agavi.php" \ + -- \ + --agavi-source-directory "${AGAVI_SOURCE_DIRECTORY}" "$@" |