summaryrefslogtreecommitdiff
path: root/dev-php/agavi/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-php/agavi/files
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-php/agavi/files')
-rw-r--r--dev-php/agavi/files/agavi-executable14
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}" "$@"