1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,14 +0,0 @@ |
1 |
-#!/usr/bin/env sh |
|
2 |
- |
|
3 |
-dir=$(cd "${0%[/\\]*}" > /dev/null; cd "../nesbot/carbon/bin" && pwd) |
|
4 |
- |
|
5 |
-if [ -d /proc/cygdrive ]; then |
|
6 |
- case $(which php) in |
|
7 |
- $(readlink -n /proc/cygdrive)/*) |
|
8 |
- # We are in Cygwin using Windows php, so the path must be translated |
|
9 |
- dir=$(cygpath -m "$dir"); |
|
10 |
- ;; |
|
11 |
- esac |
|
12 |
-fi |
|
13 |
- |
|
14 |
-"${dir}/carbon" "$@" |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,14 @@ |
1 |
+#!/usr/bin/env sh |
|
2 |
+ |
|
3 |
+dir=$(cd "${0%[/\\]*}" > /dev/null; cd "../nesbot/carbon/bin" && pwd) |
|
4 |
+ |
|
5 |
+if [ -d /proc/cygdrive ]; then |
|
6 |
+ case $(which php) in |
|
7 |
+ $(readlink -n /proc/cygdrive)/*) |
|
8 |
+ # We are in Cygwin using Windows php, so the path must be translated |
|
9 |
+ dir=$(cygpath -m "$dir"); |
|
10 |
+ ;; |
|
11 |
+ esac |
|
12 |
+fi |
|
13 |
+ |
|
14 |
+"${dir}/carbon" "$@" |