Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there) https://friendi.ca
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.
 
 
 
 
 
 

11 lines
274 B

  1. #!/bin/bash
  2. dir=$(cd "${0%[/\\]*}" > /dev/null; pwd)
  3. if [[ -d /proc/cygdrive && $(which php) == $(readlink -n /proc/cygdrive)/* ]]; then
  4. # We are in Cgywin using Windows php, so the path must be translated
  5. dir=$(cygpath -m "$dir");
  6. fi
  7. php "${dir}/console.php" "$@"