X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=bin%2Fconsole;h=79b6c8d3b94a677f23e795422d88740a39f022ad;hb=ddc3c0db03267d29ace272b504dc6f803fa02990;hp=bd0ea97a3ed91d24d2a6ad617a1a610d33309944;hpb=dcf2ed26bb19f908f5b9268f938e70d9396d6ccf;p=friendica.git diff --git a/bin/console b/bin/console old mode 100644 new mode 100755 index bd0ea97a3e..79b6c8d3b9 --- 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