12345678910111213141516171819202122232425262728293031323334353637 |
- #!/usr/bin/env sh
- selfArg="$BASH_SOURCE"
- if [ -z "$selfArg" ]; then
- selfArg="$0"
- fi
- self=$(realpath $selfArg 2> /dev/null)
- if [ -z "$self" ]; then
- self="$selfArg"
- fi
- dir=$(cd "${self%[/\\]*}" > /dev/null; cd '../nick322/secure-spreadsheet' && pwd)
- if [ -d /proc/cygdrive ]; then
- case $(which php) in
- $(readlink -n /proc/cygdrive)/*)
-
- dir=$(cygpath -m "$dir");
- ;;
- esac
- fi
- export COMPOSER_RUNTIME_BIN_DIR="$(cd "${self%[/\\]*}" > /dev/null; pwd)"
- bashSource="$BASH_SOURCE"
- if [ -n "$bashSource" ]; then
- if [ "$bashSource" != "$0" ]; then
- source "${dir}/secure-spreadsheet" "$@"
- return
- fi
- fi
- "${dir}/secure-spreadsheet" "$@"
|