mirror of
https://github.com/friendica/friendica
synced 2024-12-27 04:00:16 +00:00
16 lines
339 B
Text
16 lines
339 B
Text
|
#!/usr/bin/env sh
|
||
|
SRC_DIR=`pwd`
|
||
|
BIN_DIR=`dirname $0`
|
||
|
VENDOR_DIR=$BIN_DIR/"../"
|
||
|
DIRS=""
|
||
|
for vendor in $VENDOR_DIR/*; do
|
||
|
if [ -d "$vendor" ]; then
|
||
|
for package in $vendor/*; do
|
||
|
if [ -d "$package" ]; then
|
||
|
DIRS="${DIRS}:${package}"
|
||
|
fi
|
||
|
done
|
||
|
fi
|
||
|
done
|
||
|
php -d include_path=".$DIRS" $@
|