You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

composer-php 339B

123456789101112131415
  1. #!/usr/bin/env sh
  2. SRC_DIR=`pwd`
  3. BIN_DIR=`dirname $0`
  4. VENDOR_DIR=$BIN_DIR/'../'
  5. DIRS=""
  6. for vendor in $VENDOR_DIR/*; do
  7. if [ -d "$vendor" ]; then
  8. for package in $vendor/*; do
  9. if [ -d "$package" ]; then
  10. DIRS="${DIRS}:${package}"
  11. fi
  12. done
  13. fi
  14. done
  15. php -d include_path=".$DIRS" $@