Files
apps.supersam24.ru/vendor/bin/jsonlint
T

10 lines
306 B
Bash
Raw Normal View History

2026-10-22 00:04:27 +03:00
#!/usr/bin/env sh
dir=$(cd "${0%[/\\]*}" > /dev/null; cd "../seld/jsonlint/bin" && pwd)
if [ -d /proc/cygdrive ] && [[ $(which php) == $(readlink -n /proc/cygdrive)/* ]]; then
# We are in Cgywin using Windows php, so the path must be translated
dir=$(cygpath -m "$dir");
fi
"${dir}/jsonlint" "$@"