X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=bin%2Fconsole;h=79b6c8d3b94a677f23e795422d88740a39f022ad;hb=a1fb0f848cadd1578aa9c27ef770c79bc8fa27c0;hp=bd0ea97a3ed91d24d2a6ad617a1a610d33309944;hpb=4d8d5ca6a58af9aa98cd7f6ca38da5176c621f0d;p=friendica.git diff --git a/bin/console b/bin/console index bd0ea97a3e..79b6c8d3b9 100755 --- a/bin/console +++ b/bin/console @@ -1,9 +1,9 @@ -#!/bin/sh +#!/bin/bash dir=$(cd "${0%[/\\]*}" > /dev/null; 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 + # We are in Cygwin using Windows php, so the path must be translated dir=$(cygpath -m "$dir"); fi